Topic questions are performed as they are described in the Markdown cells below. When completed all fo teh cells have all been run, the completed project must be committed to github. The following link is the document being utilized: https://www.archives.gov/founding-docs/declaration-transcript
This assigment includes additional files that are included in the repository.
Please check The installation list as included in the "Installations.ipynb". The command has been left below blank, please see the results run in the Installations NoteBook.
from collections import Counter
import pickle
import requests
import spacy
from bs4 import BeautifulSoup
import matplotlib.pyplot as plt
import nltk
!pip list
print('All prereqs installed')
Package Version ------------------------ -------- anyio 3.7.0 appdirs 1.4.4 argon2-cffi 21.3.0 argon2-cffi-bindings 21.2.0 arrow 1.2.3 asgiref 3.7.2 asttokens 2.2.1 attrs 23.1.0 backcall 0.2.0 beautifulsoup4 4.12.2 black 23.7.0 bleach 6.0.0 blis 0.7.9 bokeh 3.2.1 branca 0.6.0 catalogue 2.0.8 certifi 2023.5.7 cffi 1.15.1 charset-normalizer 3.1.0 click 8.1.6 colorama 0.4.6 colorcet 3.0.1 comm 0.1.4 confection 0.1.0 contextvars 2.4 contourpy 1.1.0 cycler 0.11.0 cymem 2.0.7 debugpy 1.6.6 decorator 5.1.1 defusedxml 0.7.1 en-core-web-lg 3.6.0 en-core-web-sm 3.6.0 et-xmlfile 1.1.0 executing 1.2.0 fastjsonschema 2.17.1 fonttools 4.41.0 fqdn 1.5.1 frozendict 2.3.8 fsspec 2023.6.0 h11 0.14.0 holoviews 1.16.2 html5lib 1.1 htmltools 0.3.0 humanize 4.7.0 hvplot 0.8.4 idna 3.4 immutables 0.19 importlib-metadata 6.7.0 importlib-resources 5.12.0 ipykernel 6.21.1 ipyleaflet 0.17.3 ipython 8.9.0 ipython-genutils 0.2.0 ipywidgets 8.1.0 isoduration 20.11.0 jedi 0.18.2 Jinja2 3.1.2 joblib 1.3.1 jsonpointer 2.4 jsonschema 4.17.3 jupyter-bokeh 3.0.7 jupyter_client 8.0.2 jupyter_core 5.2.0 jupyter-events 0.6.3 jupyter_server 2.7.0 jupyter_server_terminals 0.4.4 jupyterlab-pygments 0.2.2 jupyterlab-widgets 3.0.8 kiwisolver 1.4.4 langcodes 3.3.0 linkify-it-py 2.0.2 lxml 4.9.3 lyricsgenius 3.0.1 Markdown 3.4.3 markdown-it-py 3.0.0 MarkupSafe 2.1.3 matplotlib 3.7.2 matplotlib-inline 0.1.6 mdit-py-plugins 0.4.0 mdurl 0.1.2 mistune 3.0.1 mizani 0.9.2 multitasking 0.0.11 murmurhash 1.0.9 mypy-extensions 1.0.0 nbclassic 1.0.0 nbclient 0.8.0 nbconvert 7.6.0 nbformat 5.9.0 nest-asyncio 1.5.6 nltk 3.8.1 nodeenv 1.8.0 notebook 6.5.4 notebook_shim 0.2.3 numpy 1.24.2 openpyxl 3.1.2 overrides 7.3.1 packaging 23.0 pandas 2.0.3 pandocfilters 1.5.0 panel 1.2.0 param 1.13.0 parso 0.8.3 pathspec 0.11.1 pathy 0.10.2 patsy 0.5.3 pickleshare 0.7.5 Pillow 10.0.0 pins 0.8.1 pip 23.2.1 platformdirs 2.6.2 plotly 5.15.0 plotnine 0.12.2 preshed 3.0.8 prometheus-client 0.17.0 prompt-toolkit 3.0.36 psutil 5.9.4 pure-eval 0.2.2 pycparser 2.21 pyct 0.5.0 pydantic 1.10.11 Pygments 2.14.0 PyJWT 2.7.0 pyodide-py 0.23.4 pyparsing 3.0.9 pyright 1.1.318 pyrsistent 0.19.3 python-dateutil 2.8.2 python-dotenv 1.0.0 python-json-logger 2.0.7 python-multipart 0.0.6 pytz 2022.7.1 pyviz-comms 2.3.2 pywin32 305 pywinpty 2.0.10 PyYAML 6.0 pyzmq 25.0.0 regex 2023.6.3 requests 2.31.0 rfc3339-validator 0.1.4 rfc3986-validator 0.1.1 rsconnect 0.1.3 rsconnect-jupyter 1.8.0 rsconnect-python 1.19.1 ruff 0.0.280 scipy 1.11.1 seaborn 0.12.2 semver 2.13.0 Send2Trash 1.8.2 setuptools 65.5.0 shiny 0.5.0 shinyswatch 0.2.4 shinywidgets 0.2.1 six 1.16.0 smart-open 6.3.0 sniffio 1.3.0 soupsieve 2.4.1 spacy 3.6.0 spacy-legacy 3.0.12 spacy-loggers 1.0.4 spacytextblob 4.0.0 srsly 2.4.6 stack-data 0.6.2 starlette 0.28.0 statsmodels 0.14.0 tenacity 8.2.2 terminado 0.17.1 textblob 0.15.3 thinc 8.1.10 tinycss2 1.2.1 tornado 6.2 tqdm 4.65.0 traitlets 5.9.0 traittypes 0.2.1 typer 0.9.0 typing_extensions 4.7.1 tzdata 2023.3 uc-micro-py 1.0.2 uri-template 1.3.0 urllib3 2.0.3 uvicorn 0.22.0 wasabi 1.1.2 watchfiles 0.19.0 wcwidth 0.2.6 webcolors 1.13 webencodings 0.5.1 websocket-client 1.6.1 websockets 11.0.3 wheel 0.41.1 widgetsnbextension 4.0.8 wordcloud 1.9.2 XStatic-bootswatch 3.3.7.0 xxhash 3.2.0 xyzservices 2023.7.0 yfinance 0.2.27 zipp 3.15.0 All prereqs installed
import requests
import pickle
import io
import spacy
from contextlib import redirect_stdout
url = "https://www.archives.gov/founding-docs/declaration-transcript"
response = requests.get(url)
print(response.status_code)
print(response.headers['content-type'])
# Check if request worked and pickle
try:
#fetch html content from url
response = requests.get(url)
if response.status_code == 200:
DeclarIndep_html = response.text
with open("DeclarIndep.pkl", "wb") as file:
pickle.dump(DeclarIndep_html, file)
print("Article html saved to 'DeclarIndep_html.pkl' succesfully. Boston Tea Party is a GO!")
else:
print(f" Failed to fetch the URL. Status code: {response.status_code}")
except requests.RequestException as e:
print(f"Error while fetching url: {e}")
200 text/html; charset=utf-8 Article html saved to 'DeclarIndep_html.pkl' succesfully. Boston Tea Party is a GO!
import pickle
from bs4 import BeautifulSoup
try:
with open("DeclarIndep.pkl", "rb") as file:
DeclarIndep_html = pickle.load(file)
soup = BeautifulSoup(DeclarIndep_html, "html.parser")
DeclarIndep_text = soup.get_text()
print(DeclarIndep_text)
except FileNotFoundError:
print("File 'article_html.pkl' not found. Run the code from Q1")
except Exception as e:
print(f"Error occured: {e}")
Declaration of Independence: A Transcription | National Archives
Top
Skip to main content
The U.S. National Archives Home
Menu
Blogs ·
Bookmark/Share
·
Contact Us
Search
Search
Main menuResearch Our Records
Veterans' Service Records
Educator Resources
Visit Us
America's Founding Documents
America's Founding Documents
Home > America's Founding Documents > Declaration of Independence Transcript
America's Founding Documents
Main Page
Explore the Documents
Declaration of Independence
Constitution of the United States
Bill of Rights
Special Features
High Resolution Downloads
Sign the Declaration or Constitution
The Faulkner Murals
Meet the Framers of the Constitution
Other Resources
Visit the National Archives Museum
View Other Milestone Documents
Browse Teaching Resources for the Revolutionary Era
Civics for All of US
Explore Online Exhibits
Search the National Archives Catalog
Discover the Founders Online
Shop the Archives Store
Ask a Question on History Hub
Declaration of Independence: A Transcription
Print This Page
Note: The following text is a transcription of the Stone Engraving of the parchment Declaration of Independence (the document on display in the Rotunda at the National Archives Museum.) The spelling and punctuation reflects the original.
In Congress, July 4, 1776
The unanimous Declaration of the thirteen united States of America, When in the Course of human events, it becomes necessary for one people to dissolve the political bands which have connected them with another, and to assume among the powers of the earth, the separate and equal station to which the Laws of Nature and of Nature's God entitle them, a decent respect to the opinions of mankind requires that they should declare the causes which impel them to the separation.
We hold these truths to be self-evident, that all men are created equal, that they are endowed by their Creator with certain unalienable Rights, that among these are Life, Liberty and the pursuit of Happiness.--That to secure these rights, Governments are instituted among Men, deriving their just powers from the consent of the governed, --That whenever any Form of Government becomes destructive of these ends, it is the Right of the People to alter or to abolish it, and to institute new Government, laying its foundation on such principles and organizing its powers in such form, as to them shall seem most likely to effect their Safety and Happiness. Prudence, indeed, will dictate that Governments long established should not be changed for light and transient causes; and accordingly all experience hath shewn, that mankind are more disposed to suffer, while evils are sufferable, than to right themselves by abolishing the forms to which they are accustomed. But when a long train of abuses and usurpations, pursuing invariably the same Object evinces a design to reduce them under absolute Despotism, it is their right, it is their duty, to throw off such Government, and to provide new Guards for their future security.--Such has been the patient sufferance of these Colonies; and such is now the necessity which constrains them to alter their former Systems of Government. The history of the present King of Great Britain is a history of repeated injuries and usurpations, all having in direct object the establishment of an absolute Tyranny over these States. To prove this, let Facts be submitted to a candid world.
He has refused his Assent to Laws, the most wholesome and necessary for the public good.
He has forbidden his Governors to pass Laws of immediate and pressing importance, unless suspended in their operation till his Assent should be obtained; and when so suspended, he has utterly neglected to attend to them.
He has refused to pass other Laws for the accommodation of large districts of people, unless those people would relinquish the right of Representation in the Legislature, a right inestimable to them and formidable to tyrants only.
He has called together legislative bodies at places unusual, uncomfortable, and distant from the depository of their public Records, for the sole purpose of fatiguing them into compliance with his measures.
He has dissolved Representative Houses repeatedly, for opposing with manly firmness his invasions on the rights of the people.
He has refused for a long time, after such dissolutions, to cause others to be elected; whereby the Legislative powers, incapable of Annihilation, have returned to the People at large for their exercise; the State remaining in the mean time exposed to all the dangers of invasion from without, and convulsions within.
He has endeavoured to prevent the population of these States; for that purpose obstructing the Laws for Naturalization of Foreigners; refusing to pass others to encourage their migrations hither, and raising the conditions of new Appropriations of Lands.
He has obstructed the Administration of Justice, by refusing his Assent to Laws for establishing Judiciary powers.
He has made Judges dependent on his Will alone, for the tenure of their offices, and the amount and payment of their salaries.
He has erected a multitude of New Offices, and sent hither swarms of Officers to harrass our people, and eat out their substance.
He has kept among us, in times of peace, Standing Armies without the Consent of our legislatures.
He has affected to render the Military independent of and superior to the Civil power.
He has combined with others to subject us to a jurisdiction foreign to our constitution, and unacknowledged by our laws; giving his Assent to their Acts of pretended Legislation:
For Quartering large bodies of armed troops among us:
For protecting them, by a mock Trial, from punishment for any Murders which they should commit on the Inhabitants of these States:
For cutting off our Trade with all parts of the world:
For imposing Taxes on us without our Consent:
For depriving us in many cases, of the benefits of Trial by Jury:
For transporting us beyond Seas to be tried for pretended offences
For abolishing the free System of English Laws in a neighbouring Province, establishing therein an Arbitrary government, and enlarging its Boundaries so as to render it at once an example and fit instrument for introducing the same absolute rule into these Colonies:
For taking away our Charters, abolishing our most valuable Laws, and altering fundamentally the Forms of our Governments:
For suspending our own Legislatures, and declaring themselves invested with power to legislate for us in all cases whatsoever.
He has abdicated Government here, by declaring us out of his Protection and waging War against us.
He has plundered our seas, ravaged our Coasts, burnt our towns, and destroyed the lives of our people.
He is at this time transporting large Armies of foreign Mercenaries to compleat the works of death, desolation and tyranny, already begun with circumstances of Cruelty & perfidy scarcely paralleled in the most barbarous ages, and totally unworthy the Head of a civilized nation.
He has constrained our fellow Citizens taken Captive on the high Seas to bear Arms against their Country, to become the executioners of their friends and Brethren, or to fall themselves by their Hands.
He has excited domestic insurrections amongst us, and has endeavoured to bring on the inhabitants of our frontiers, the merciless Indian Savages, whose known rule of warfare, is an undistinguished destruction of all ages, sexes and conditions.
In every stage of these Oppressions We have Petitioned for Redress in the most humble terms: Our repeated Petitions have been answered only by repeated injury. A Prince whose character is thus marked by every act which may define a Tyrant, is unfit to be the ruler of a free people.
Nor have We been wanting in attentions to our Brittish brethren. We have warned them from time to time of attempts by their legislature to extend an unwarrantable jurisdiction over us. We have reminded them of the circumstances of our emigration and settlement here. We have appealed to their native justice and magnanimity, and we have conjured them by the ties of our common kindred to disavow these usurpations, which, would inevitably interrupt our connections and correspondence. They too have been deaf to the voice of justice and of consanguinity. We must, therefore, acquiesce in the necessity, which denounces our Separation, and hold them, as we hold the rest of mankind, Enemies in War, in Peace Friends.
We, therefore, the Representatives of the united States of America, in General Congress, Assembled, appealing to the Supreme Judge of the world for the rectitude of our intentions, do, in the Name, and by Authority of the good People of these Colonies, solemnly publish and declare, That these United Colonies are, and of Right ought to be Free and Independent States; that they are Absolved from all Allegiance to the British Crown, and that all political connection between them and the State of Great Britain, is and ought to be totally dissolved; and that as Free and Independent States, they have full Power to levy War, conclude Peace, contract Alliances, establish Commerce, and to do all other Acts and Things which Independent States may of right do. And for the support of this Declaration, with a firm reliance on the protection of divine Providence, we mutually pledge to each other our Lives, our Fortunes and our sacred Honor.
Georgia
Button Gwinnett
Lyman Hall
George Walton
North Carolina
William Hooper
Joseph Hewes
John Penn
South Carolina
Edward Rutledge
Thomas Heyward, Jr.
Thomas Lynch, Jr.
Arthur Middleton
Massachusetts
John Hancock
Maryland
Samuel Chase
William Paca
Thomas Stone
Charles Carroll of Carrollton
Virginia
George Wythe
Richard Henry Lee
Thomas Jefferson
Benjamin Harrison
Thomas Nelson, Jr.
Francis Lightfoot Lee
Carter Braxton
Pennsylvania
Robert Morris
Benjamin Rush
Benjamin Franklin
John Morton
George Clymer
James Smith
George Taylor
James Wilson
George Ross
Delaware
Caesar Rodney
George Read
Thomas McKean
New York
William Floyd
Philip Livingston
Francis Lewis
Lewis Morris
New Jersey
Richard Stockton
John Witherspoon
Francis Hopkinson
John Hart
Abraham Clark
New Hampshire
Josiah Bartlett
William Whipple
Massachusetts
Samuel Adams
John Adams
Robert Treat Paine
Elbridge Gerry
Rhode Island
Stephen Hopkins
William Ellery
Connecticut
Roger Sherman
Samuel Huntington
William Williams
Oliver Wolcott
New Hampshire
Matthew Thornton
Back to Main Declaration Page
Snippet
About the Declaration
What Does it Say?
The meaning of the document
How Did it Happen?
The history of the document
How Was it Made?
The creation of the parchment document
Where can I learn about the Declaration?
Additional activities and information
How can I visit the Declaration?
The National Archives Museum
Read a Transcript
Declaration of Independence transcript
Enlarge
Declaration of Independence
The condition of the parchment Declaration of Independence is a sign of the place it has held in the hearts of many Americans. Years of public display have faded and worn this treasured document. Today it is maintained under the most exacting archival conditions possible.
Snippet
Shop the National Archives Store
This page was last reviewed on January 31, 2023.
Contact us with questions or comments.
Founding Documents
Explore the Documents
Declaration of Independence
Constitution of the United States
Bill of Rights
Special Features
High Resolution Downloads
Sign the Declaration
The Faulkner Murals
Meet the Framers of the Constitution
Other Resources
Plan Your Visit to the National Archives Museum
View Other Milestone Documents
Browse Revolutionary Era Classroom Activities
Explore Online Exhibits
Search the National Archives Catalog
Shop the Archives Store
I Want To…
Get My Military Record
Plan a Research Visit
Visit the Museum
View Online Exhibits
Apply for a Grant
Participate
Attend an Event
Donate to the Archives
Work at the Archives
Volunteer at the Archives
Resources
America's Founding Docs
Contact Us
En Español
FAQs
Forms
Shop Online
Visit the National Archives Store
Buy Reproductions and Microfilm
Connect With Us
Facebook
Twitter
Instagram
Tumblr
YouTube
Blogs
Flickr
Contact Us ·
Accessibility ·
Privacy Policy ·
Freedom of Information Act ·
No FEAR Act ·
USA.gov
The U.S. National Archives and Records Administration
1-86-NARA-NARA or 1-866-272-6272
Top
In this instance tokenizing the text will be the best method to determine if an NLP has the ability to analyize the document. NLPs are trained mainly on modern English, which when compared to English as spoken and written in 1770s is radically different. Many words, phrases and gramatical elements have changed over the past 248 years since its inital draft in 1775 by Thomas Jefferson. Especially when the final draft whichw as adopted in 1776 had been reviewed by both John Addams and Benjamin Franklin before arriving at the Committe of Five and finally delivered to Congress.
As Punctuation will be an issue we will imedialy pull all the tokens associated with puncutation out of this stage.
import pickle
from nltk.tokenize import word_tokenize
from collections import Counter
import spacy
from collections import Counter
import string
from spacy.lang.en.stop_words import STOP_WORDS
import pickle
from bs4 import BeautifulSoup
def preprocess_txt(text):
# Load spacy
nlp = spacy.load('en_core_web_lg')
#process the article
doc = nlp(DeclarIndep_text)
stop_words = nlp.Defaults.stop_words
interesting_tokens = [token.text.lower() for token in doc if token.text.lower() not in nlp.Defaults.stop_words and token.text.lower() not in string.punctuation and not token.is_space]
#tokens = [token.text.lower() for token in doc if token.text.lower() not in stop_words and token.text.lower() not in string.punctuation and not token.is_space]
return interesting_tokens
try:
with open("DeclarIndep.pkl", "rb") as file:
DeclarIndep_html = pickle.load(file)
soup = BeautifulSoup(DeclarIndep_html, 'html.parser')
DeclarIndep_text = soup.get_text()
tokens = preprocess_txt(DeclarIndep_text)
most_common_tokens = Counter(tokens).most_common(10)
print("Ten most frequent tokens:")
for token, frequency in most_common_tokens:
print(f"{token}: {frequency}")
except FileNotFoundError:
print("File 'DeclarIndep.pkl' not found.")
except Exception as e:
print(f"An error occured: {e}")
Ten most frequent tokens: states: 10 people: 10 laws: 9 new: 8 america: 7 right: 7 constitution: 6 government: 6 george: 6 william: 6
For this project STOP WORDS are a major issue as this is pulled from the National Archive's Website, we have to pull the words National and Archive from the list. These are not standard stop words however they will effect our analysis later. We will also add "independence" to the list as we are focused on the actual language within the document and not the title, or the other links on the page.
# General Stop words
import spacy
spacy_stopwords = spacy.lang.en.stop_words.STOP_WORDS
len(spacy_stopwords)
for stop_word in list(spacy_stopwords)[:10]:
print(stop_word)
ever into again down namely side go whereupon bottom ‘ll
def preprocess_txt(text):
# Load spacy
nlp = spacy.load('en_core_web_lg')
#process the article
doc = nlp(DeclarIndep_text)
stop_words = nlp.Defaults.stop_words
stop_words |= {"archives", "national", "documents", "independence", "·"}
stop_words.update(stop_words)
nlp.Defaults.stop_words = stop_words
interesting_tokens = [token.text.lower() for token in doc if token.text.lower() not in nlp.Defaults.stop_words and token.text.lower() not in string.punctuation and not token.is_space]
#tokens = [token.text.lower() for token in doc if token.text.lower() not in stop_words and token.text.lower() not in string.punctuation and not token.is_space]
return interesting_tokens
try:
with open("DeclarIndep.pkl", "rb") as file:
DeclarIndep_html = pickle.load(file)
soup = BeautifulSoup(DeclarIndep_html, 'html.parser')
DeclarIndep_text = soup.get_text()
tokens = preprocess_txt(DeclarIndep_text)
most_common_tokens = Counter(tokens).most_common(5)
print("Five most frequent tokens:")
for token, frequency in most_common_tokens:
print(f"{token}: {frequency}")
except FileNotFoundError:
print("File 'DeclarIndep.pkl' not found.")
except Exception as e:
print(f"An error occured: {e}")
Five most frequent tokens: states: 10 people: 10 laws: 9 new: 8 america: 7
Every document has basic features, in this instace we are interested in the following:
* 6.1: Number of Sentences in the Document
* 6.2: Locating the first word in sentences
* 6.3: Index Position of Tokens
# 6.1 Number of Sentences:
import pickle
import nltk
from nltk.tokenize import sent_tokenize
with open('DeclarIndep.pkl', 'rb') as f:
doc = pickle.load(f)
sentences = sent_tokenize(doc)
num_sentences = len(sentences)
print(f"There are {num_sentences} in the Declaration total.")
There are 33 in the Declaration total.
# 6.2 Doc Process Text
nlp = spacy.load("en_core_web_sm")
DeclarIndep_doc = nlp(DeclarIndep_text)
print([token.text for token in DeclarIndep_doc])
['\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n', 'Declaration', 'of', 'Independence', ':', 'A', 'Transcription', '|', 'National', 'Archives', '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n', 'Top', '\n\n', 'Skip', 'to', 'main', 'content', '\n\n\n\n\n\n\n', 'The', 'U.S.', 'National', 'Archives', 'Home', '\n', 'Menu', '\n\n\n\n', 'Blogs', '·', '\n \n', 'Bookmark', '/', 'Share', '\n ', '·', '\n\n ', 'Contact', 'Us', '\n\n\n\n', 'Search', '\n\n\n', 'Search', '\n\n\n\n\n\n\n\n\n \n\n', 'Main', 'menuResearch', 'Our', 'Records', '\n', 'Veterans', "'", 'Service', 'Records', '\n', 'Educator', 'Resources', '\n', 'Visit', 'Us', '\n', 'America', "'s", 'Founding', 'Documents', '\n \n\n\n\n', 'America', "'s", 'Founding', 'Documents', '\n\n', 'Home', '>', 'America', "'s", 'Founding', 'Documents', '>', 'Declaration', 'of', 'Independence', 'Transcript', ' \n\n\n\n\n\n', 'America', "'s", 'Founding', 'Documents', '\n\n', 'Main', 'Page', '\n\n', 'Explore', 'the', 'Documents', '\n\n', 'Declaration', 'of', 'Independence', '\n', 'Constitution', 'of', 'the', 'United', 'States', '\n', 'Bill', 'of', 'Rights', '\n\n\n', 'Special', 'Features', '\n\n', 'High', 'Resolution', 'Downloads', '\n', 'Sign', 'the', 'Declaration', 'or', 'Constitution', '\n', 'The', 'Faulkner', 'Murals', '\n', 'Meet', 'the', 'Framers', 'of', 'the', 'Constitution', '\n\n', 'Other', 'Resources', '\n\n', 'Visit', 'the', 'National', 'Archives', 'Museum', '\n', 'View', 'Other', 'Milestone', 'Documents', '\n', 'Browse', 'Teaching', 'Resources', 'for', 'the', 'Revolutionary', 'Era', '\n', 'Civics', 'for', 'All', 'of', 'US', '\n', 'Explore', 'Online', 'Exhibits', '\n', 'Search', 'the', 'National', 'Archives', 'Catalog', '\n', 'Discover', 'the', 'Founders', 'Online', '\n', 'Shop', 'the', 'Archives', 'Store', '\n', 'Ask', 'a', 'Question', 'on', 'History', 'Hub', '\n\n\n \n\n\n\n\n\n\n\n', 'Declaration', 'of', 'Independence', ':', 'A', 'Transcription', '\n\n', 'Print', 'This', 'Page', '\n\n\xa0\n\n', 'Note', ':', 'The', 'following', 'text', 'is', 'a', 'transcription', 'of', 'the', 'Stone', 'Engraving', 'of', 'the', 'parchment', 'Declaration', 'of', 'Independence', '(', 'the', 'document', 'on', 'display', 'in', 'the', 'Rotunda', 'at', 'the', 'National', 'Archives', 'Museum', '.', ')', '\xa0', 'The', 'spelling', 'and', 'punctuation', 'reflects', 'the', 'original', '.', '\n\n\n', 'In', 'Congress', ',', 'July', '4', ',', '1776', '\n', 'The', 'unanimous', 'Declaration', 'of', 'the', 'thirteen', 'united', 'States', 'of', 'America', ',', 'When', 'in', 'the', 'Course', 'of', 'human', 'events', ',', 'it', 'becomes', 'necessary', 'for', 'one', 'people', 'to', 'dissolve', 'the', 'political', 'bands', 'which', 'have', 'connected', 'them', 'with', 'another', ',', 'and', 'to', 'assume', 'among', 'the', 'powers', 'of', 'the', 'earth', ',', 'the', 'separate', 'and', 'equal', 'station', 'to', 'which', 'the', 'Laws', 'of', 'Nature', 'and', 'of', 'Nature', "'s", 'God', 'entitle', 'them', ',', 'a', 'decent', 'respect', 'to', 'the', 'opinions', 'of', 'mankind', 'requires', 'that', 'they', 'should', 'declare', 'the', 'causes', 'which', 'impel', 'them', 'to', 'the', 'separation', '.', '\n', 'We', 'hold', 'these', 'truths', 'to', 'be', 'self', '-', 'evident', ',', 'that', 'all', 'men', 'are', 'created', 'equal', ',', 'that', 'they', 'are', 'endowed', 'by', 'their', 'Creator', 'with', 'certain', 'unalienable', 'Rights', ',', 'that', 'among', 'these', 'are', 'Life', ',', 'Liberty', 'and', 'the', 'pursuit', 'of', 'Happiness.--That', 'to', 'secure', 'these', 'rights', ',', 'Governments', 'are', 'instituted', 'among', 'Men', ',', 'deriving', 'their', 'just', 'powers', 'from', 'the', 'consent', 'of', 'the', 'governed', ',', '--That', 'whenever', 'any', 'Form', 'of', 'Government', 'becomes', 'destructive', 'of', 'these', 'ends', ',', 'it', 'is', 'the', 'Right', 'of', 'the', 'People', 'to', 'alter', 'or', 'to', 'abolish', 'it', ',', 'and', 'to', 'institute', 'new', 'Government', ',', 'laying', 'its', 'foundation', 'on', 'such', 'principles', 'and', 'organizing', 'its', 'powers', 'in', 'such', 'form', ',', 'as', 'to', 'them', 'shall', 'seem', 'most', 'likely', 'to', 'effect', 'their', 'Safety', 'and', 'Happiness', '.', 'Prudence', ',', 'indeed', ',', 'will', 'dictate', 'that', 'Governments', 'long', 'established', 'should', 'not', 'be', 'changed', 'for', 'light', 'and', 'transient', 'causes', ';', 'and', 'accordingly', 'all', 'experience', 'hath', 'shewn', ',', 'that', 'mankind', 'are', 'more', 'disposed', 'to', 'suffer', ',', 'while', 'evils', 'are', 'sufferable', ',', 'than', 'to', 'right', 'themselves', 'by', 'abolishing', 'the', 'forms', 'to', 'which', 'they', 'are', 'accustomed', '.', 'But', 'when', 'a', 'long', 'train', 'of', 'abuses', 'and', 'usurpations', ',', 'pursuing', 'invariably', 'the', 'same', 'Object', 'evinces', 'a', 'design', 'to', 'reduce', 'them', 'under', 'absolute', 'Despotism', ',', 'it', 'is', 'their', 'right', ',', 'it', 'is', 'their', 'duty', ',', 'to', 'throw', 'off', 'such', 'Government', ',', 'and', 'to', 'provide', 'new', 'Guards', 'for', 'their', 'future', 'security.--Such', 'has', 'been', 'the', 'patient', 'sufferance', 'of', 'these', 'Colonies', ';', 'and', 'such', 'is', 'now', 'the', 'necessity', 'which', 'constrains', 'them', 'to', 'alter', 'their', 'former', 'Systems', 'of', 'Government', '.', 'The', 'history', 'of', 'the', 'present', 'King', 'of', 'Great', 'Britain', 'is', 'a', 'history', 'of', 'repeated', 'injuries', 'and', 'usurpations', ',', 'all', 'having', 'in', 'direct', 'object', 'the', 'establishment', 'of', 'an', 'absolute', 'Tyranny', 'over', 'these', 'States', '.', 'To', 'prove', 'this', ',', 'let', 'Facts', 'be', 'submitted', 'to', 'a', 'candid', 'world', '.', '\n\n', 'He', 'has', 'refused', 'his', 'Assent', 'to', 'Laws', ',', 'the', 'most', 'wholesome', 'and', 'necessary', 'for', 'the', 'public', 'good', '.', '\n', 'He', 'has', 'forbidden', 'his', 'Governors', 'to', 'pass', 'Laws', 'of', 'immediate', 'and', 'pressing', 'importance', ',', 'unless', 'suspended', 'in', 'their', 'operation', 'till', 'his', 'Assent', 'should', 'be', 'obtained', ';', 'and', 'when', 'so', 'suspended', ',', 'he', 'has', 'utterly', 'neglected', 'to', 'attend', 'to', 'them', '.', '\n', 'He', 'has', 'refused', 'to', 'pass', 'other', 'Laws', 'for', 'the', 'accommodation', 'of', 'large', 'districts', 'of', 'people', ',', 'unless', 'those', 'people', 'would', 'relinquish', 'the', 'right', 'of', 'Representation', 'in', 'the', 'Legislature', ',', 'a', 'right', 'inestimable', 'to', 'them', 'and', 'formidable', 'to', 'tyrants', 'only', '.', '\n', 'He', 'has', 'called', 'together', 'legislative', 'bodies', 'at', 'places', 'unusual', ',', 'uncomfortable', ',', 'and', 'distant', 'from', 'the', 'depository', 'of', 'their', 'public', 'Records', ',', 'for', 'the', 'sole', 'purpose', 'of', 'fatiguing', 'them', 'into', 'compliance', 'with', 'his', 'measures', '.', '\n', 'He', 'has', 'dissolved', 'Representative', 'Houses', 'repeatedly', ',', 'for', 'opposing', 'with', 'manly', 'firmness', 'his', 'invasions', 'on', 'the', 'rights', 'of', 'the', 'people', '.', '\n', 'He', 'has', 'refused', 'for', 'a', 'long', 'time', ',', 'after', 'such', 'dissolutions', ',', 'to', 'cause', 'others', 'to', 'be', 'elected', ';', 'whereby', 'the', 'Legislative', 'powers', ',', 'incapable', 'of', 'Annihilation', ',', 'have', 'returned', 'to', 'the', 'People', 'at', 'large', 'for', 'their', 'exercise', ';', 'the', 'State', 'remaining', 'in', 'the', 'mean', 'time', 'exposed', 'to', 'all', 'the', 'dangers', 'of', 'invasion', 'from', 'without', ',', 'and', 'convulsions', 'within', '.', '\n', 'He', 'has', 'endeavoured', 'to', 'prevent', 'the', 'population', 'of', 'these', 'States', ';', 'for', 'that', 'purpose', 'obstructing', 'the', 'Laws', 'for', 'Naturalization', 'of', 'Foreigners', ';', 'refusing', 'to', 'pass', 'others', 'to', 'encourage', 'their', 'migrations', 'hither', ',', 'and', 'raising', 'the', 'conditions', 'of', 'new', 'Appropriations', 'of', 'Lands', '.', '\n', 'He', 'has', 'obstructed', 'the', 'Administration', 'of', 'Justice', ',', 'by', 'refusing', 'his', 'Assent', 'to', 'Laws', 'for', 'establishing', 'Judiciary', 'powers', '.', '\n', 'He', 'has', 'made', 'Judges', 'dependent', 'on', 'his', 'Will', 'alone', ',', 'for', 'the', 'tenure', 'of', 'their', 'offices', ',', 'and', 'the', 'amount', 'and', 'payment', 'of', 'their', 'salaries', '.', '\n', 'He', 'has', 'erected', 'a', 'multitude', 'of', 'New', 'Offices', ',', 'and', 'sent', 'hither', 'swarms', 'of', 'Officers', 'to', 'harrass', 'our', 'people', ',', 'and', 'eat', 'out', 'their', 'substance', '.', '\n', 'He', 'has', 'kept', 'among', 'us', ',', 'in', 'times', 'of', 'peace', ',', 'Standing', 'Armies', 'without', 'the', 'Consent', 'of', 'our', 'legislatures', '.', '\n', 'He', 'has', 'affected', 'to', 'render', 'the', 'Military', 'independent', 'of', 'and', 'superior', 'to', 'the', 'Civil', 'power', '.', '\n', 'He', 'has', 'combined', 'with', 'others', 'to', 'subject', 'us', 'to', 'a', 'jurisdiction', 'foreign', 'to', 'our', 'constitution', ',', 'and', 'unacknowledged', 'by', 'our', 'laws', ';', 'giving', 'his', 'Assent', 'to', 'their', 'Acts', 'of', 'pretended', 'Legislation', ':', '\n', 'For', 'Quartering', 'large', 'bodies', 'of', 'armed', 'troops', 'among', 'us', ':', '\n', 'For', 'protecting', 'them', ',', 'by', 'a', 'mock', 'Trial', ',', 'from', 'punishment', 'for', 'any', 'Murders', 'which', 'they', 'should', 'commit', 'on', 'the', 'Inhabitants', 'of', 'these', 'States', ':', '\n', 'For', 'cutting', 'off', 'our', 'Trade', 'with', 'all', 'parts', 'of', 'the', 'world', ':', '\n', 'For', 'imposing', 'Taxes', 'on', 'us', 'without', 'our', 'Consent', ':', '\n', 'For', 'depriving', 'us', 'in', 'many', 'cases', ',', 'of', 'the', 'benefits', 'of', 'Trial', 'by', 'Jury', ':', '\n', 'For', 'transporting', 'us', 'beyond', 'Seas', 'to', 'be', 'tried', 'for', 'pretended', 'offences', '\n', 'For', 'abolishing', 'the', 'free', 'System', 'of', 'English', 'Laws', 'in', 'a', 'neighbouring', 'Province', ',', 'establishing', 'therein', 'an', 'Arbitrary', 'government', ',', 'and', 'enlarging', 'its', 'Boundaries', 'so', 'as', 'to', 'render', 'it', 'at', 'once', 'an', 'example', 'and', 'fit', 'instrument', 'for', 'introducing', 'the', 'same', 'absolute', 'rule', 'into', 'these', 'Colonies', ':', '\n', 'For', 'taking', 'away', 'our', 'Charters', ',', 'abolishing', 'our', 'most', 'valuable', 'Laws', ',', 'and', 'altering', 'fundamentally', 'the', 'Forms', 'of', 'our', 'Governments', ':', '\n', 'For', 'suspending', 'our', 'own', 'Legislatures', ',', 'and', 'declaring', 'themselves', 'invested', 'with', 'power', 'to', 'legislate', 'for', 'us', 'in', 'all', 'cases', 'whatsoever', '.', '\n', 'He', 'has', 'abdicated', 'Government', 'here', ',', 'by', 'declaring', 'us', 'out', 'of', 'his', 'Protection', 'and', 'waging', 'War', 'against', 'us', '.', '\n', 'He', 'has', 'plundered', 'our', 'seas', ',', 'ravaged', 'our', 'Coasts', ',', 'burnt', 'our', 'towns', ',', 'and', 'destroyed', 'the', 'lives', 'of', 'our', 'people', '.', '\n', 'He', 'is', 'at', 'this', 'time', 'transporting', 'large', 'Armies', 'of', 'foreign', 'Mercenaries', 'to', 'compleat', 'the', 'works', 'of', 'death', ',', 'desolation', 'and', 'tyranny', ',', 'already', 'begun', 'with', 'circumstances', 'of', 'Cruelty', '&', 'perfidy', 'scarcely', 'paralleled', 'in', 'the', 'most', 'barbarous', 'ages', ',', 'and', 'totally', 'unworthy', 'the', 'Head', 'of', 'a', 'civilized', 'nation', '.', '\n', 'He', 'has', 'constrained', 'our', 'fellow', 'Citizens', 'taken', 'Captive', 'on', 'the', 'high', 'Seas', 'to', 'bear', 'Arms', 'against', 'their', 'Country', ',', 'to', 'become', 'the', 'executioners', 'of', 'their', 'friends', 'and', 'Brethren', ',', 'or', 'to', 'fall', 'themselves', 'by', 'their', 'Hands', '.', '\n', 'He', 'has', 'excited', 'domestic', 'insurrections', 'amongst', 'us', ',', 'and', 'has', 'endeavoured', 'to', 'bring', 'on', 'the', 'inhabitants', 'of', 'our', 'frontiers', ',', 'the', 'merciless', 'Indian', 'Savages', ',', 'whose', 'known', 'rule', 'of', 'warfare', ',', 'is', 'an', 'undistinguished', 'destruction', 'of', 'all', 'ages', ',', 'sexes', 'and', 'conditions', '.', '\n\n', 'In', 'every', 'stage', 'of', 'these', 'Oppressions', 'We', 'have', 'Petitioned', 'for', 'Redress', 'in', 'the', 'most', 'humble', 'terms', ':', 'Our', 'repeated', 'Petitions', 'have', 'been', 'answered', 'only', 'by', 'repeated', 'injury', '.', 'A', 'Prince', 'whose', 'character', 'is', 'thus', 'marked', 'by', 'every', 'act', 'which', 'may', 'define', 'a', 'Tyrant', ',', 'is', 'unfit', 'to', 'be', 'the', 'ruler', 'of', 'a', 'free', 'people', '.', '\n', 'Nor', 'have', 'We', 'been', 'wanting', 'in', 'attentions', 'to', 'our', 'Brittish', 'brethren', '.', 'We', 'have', 'warned', 'them', 'from', 'time', 'to', 'time', 'of', 'attempts', 'by', 'their', 'legislature', 'to', 'extend', 'an', 'unwarrantable', 'jurisdiction', 'over', 'us', '.', 'We', 'have', 'reminded', 'them', 'of', 'the', 'circumstances', 'of', 'our', 'emigration', 'and', 'settlement', 'here', '.', 'We', 'have', 'appealed', 'to', 'their', 'native', 'justice', 'and', 'magnanimity', ',', 'and', 'we', 'have', 'conjured', 'them', 'by', 'the', 'ties', 'of', 'our', 'common', 'kindred', 'to', 'disavow', 'these', 'usurpations', ',', 'which', ',', 'would', 'inevitably', 'interrupt', 'our', 'connections', 'and', 'correspondence', '.', 'They', 'too', 'have', 'been', 'deaf', 'to', 'the', 'voice', 'of', 'justice', 'and', 'of', 'consanguinity', '.', 'We', 'must', ',', 'therefore', ',', 'acquiesce', 'in', 'the', 'necessity', ',', 'which', 'denounces', 'our', 'Separation', ',', 'and', 'hold', 'them', ',', 'as', 'we', 'hold', 'the', 'rest', 'of', 'mankind', ',', 'Enemies', 'in', 'War', ',', 'in', 'Peace', 'Friends', '.', '\n', 'We', ',', 'therefore', ',', 'the', 'Representatives', 'of', 'the', 'united', 'States', 'of', 'America', ',', 'in', 'General', 'Congress', ',', 'Assembled', ',', 'appealing', 'to', 'the', 'Supreme', 'Judge', 'of', 'the', 'world', 'for', 'the', 'rectitude', 'of', 'our', 'intentions', ',', 'do', ',', 'in', 'the', 'Name', ',', 'and', 'by', 'Authority', 'of', 'the', 'good', 'People', 'of', 'these', 'Colonies', ',', 'solemnly', 'publish', 'and', 'declare', ',', 'That', 'these', 'United', 'Colonies', 'are', ',', 'and', 'of', 'Right', 'ought', 'to', 'be', 'Free', 'and', 'Independent', 'States', ';', 'that', 'they', 'are', 'Absolved', 'from', 'all', 'Allegiance', 'to', 'the', 'British', 'Crown', ',', 'and', 'that', 'all', 'political', 'connection', 'between', 'them', 'and', 'the', 'State', 'of', 'Great', 'Britain', ',', 'is', 'and', 'ought', 'to', 'be', 'totally', 'dissolved', ';', 'and', 'that', 'as', 'Free', 'and', 'Independent', 'States', ',', 'they', 'have', 'full', 'Power', 'to', 'levy', 'War', ',', 'conclude', 'Peace', ',', 'contract', 'Alliances', ',', 'establish', 'Commerce', ',', 'and', 'to', 'do', 'all', 'other', 'Acts', 'and', 'Things', 'which', 'Independent', 'States', 'may', 'of', 'right', 'do', '.', 'And', 'for', 'the', 'support', 'of', 'this', 'Declaration', ',', 'with', 'a', 'firm', 'reliance', 'on', 'the', 'protection', 'of', 'divine', 'Providence', ',', 'we', 'mutually', 'pledge', 'to', 'each', 'other', 'our', 'Lives', ',', 'our', 'Fortunes', 'and', 'our', 'sacred', 'Honor', '.', '\n\n\n\n', 'Georgia', '\n', 'Button', 'Gwinnett', '\n', 'Lyman', 'Hall', '\n', 'George', 'Walton', '\n\xa0\n', 'North', 'Carolina', '\n', 'William', 'Hooper', '\n', 'Joseph', 'Hewes', '\n', 'John', 'Penn', '\n\xa0\n', 'South', 'Carolina', '\n', 'Edward', 'Rutledge', '\n', 'Thomas', 'Heyward', ',', 'Jr.', '\n', 'Thomas', 'Lynch', ',', 'Jr.', '\n', 'Arthur', 'Middleton', '\n\xa0\n', 'Massachusetts', '\n', 'John', 'Hancock', '\n\n\n', 'Maryland', '\n', 'Samuel', 'Chase', '\n', 'William', 'Paca', '\n', 'Thomas', 'Stone', '\n', 'Charles', 'Carroll', 'of', 'Carrollton', '\n\xa0\n', 'Virginia', '\n', 'George', 'Wythe', '\n', 'Richard', 'Henry', 'Lee', '\n', 'Thomas', 'Jefferson', '\n', 'Benjamin', 'Harrison', '\n', 'Thomas', 'Nelson', ',', 'Jr.', '\n', 'Francis', 'Lightfoot', 'Lee', '\n', 'Carter', 'Braxton', '\n\xa0\n', 'Pennsylvania', '\n', 'Robert', 'Morris', '\n', 'Benjamin', 'Rush', '\n', 'Benjamin', 'Franklin', '\n', 'John', 'Morton', '\n', 'George', 'Clymer', '\n', 'James', 'Smith', '\n', 'George', 'Taylor', '\n', 'James', 'Wilson', '\n', 'George', 'Ross', '\n\n\n', 'Delaware', '\n', 'Caesar', 'Rodney', '\n', 'George', 'Read', '\n', 'Thomas', 'McKean', '\n\xa0\n', 'New', 'York', '\n', 'William', 'Floyd', '\n', 'Philip', 'Livingston', '\n', 'Francis', 'Lewis', '\n', 'Lewis', 'Morris', '\n\xa0\n', 'New', 'Jersey', '\n', 'Richard', 'Stockton', '\n', 'John', 'Witherspoon', '\n', 'Francis', 'Hopkinson', '\n', 'John', 'Hart', '\n', 'Abraham', 'Clark', '\n\xa0\n', 'New', 'Hampshire', '\n', 'Josiah', 'Bartlett', '\n', 'William', 'Whipple', '\n\xa0\n\n\n', 'Massachusetts', '\n', 'Samuel', 'Adams', '\n', 'John', 'Adams', '\n', 'Robert', 'Treat', 'Paine', '\n', 'Elbridge', 'Gerry', '\n\xa0\n', 'Rhode', 'Island', '\n', 'Stephen', 'Hopkins', '\n', 'William', 'Ellery', '\n\xa0\n', 'Connecticut', '\n', 'Roger', 'Sherman', '\n', 'Samuel', 'Huntington', '\n', 'William', 'Williams', '\n', 'Oliver', 'Wolcott', '\n\xa0\n', 'New', 'Hampshire', '\n', 'Matthew', 'Thornton', '\n\n\n\n\xa0\n\n', 'Back', 'to', 'Main', 'Declaration', 'Page', '\n\n\n\n\n\n\n\n', 'Snippet', '\n', 'About', 'the', 'Declaration', '\n\n', 'What', 'Does', 'it', 'Say', '?', '\n', 'The', 'meaning', 'of', 'the', 'document', '\n\n', 'How', 'Did', 'it', 'Happen', '?', '\n', 'The', 'history', 'of', 'the', 'document', '\n\n', 'How', 'Was', 'it', 'Made', '?', '\n', 'The', 'creation', 'of', 'the', 'parchment', 'document', '\n\n', 'Where', 'can', 'I', 'learn', 'about', 'the', 'Declaration', '?', '\n', 'Additional', 'activities', 'and', 'information', '\n\n', 'How', 'can', 'I', 'visit', 'the', 'Declaration', '?', '\n', 'The', 'National', 'Archives', 'Museum', '\n\n', 'Read', 'a', 'Transcript', '\n', 'Declaration', 'of', 'Independence', 'transcript', '\n\n\n\xa0\n\n', 'Enlarge', '\n', 'Declaration', 'of', 'Independence', '\n', 'The', 'condition', 'of', 'the', 'parchment', 'Declaration', 'of', 'Independence', 'is', 'a', 'sign', 'of', 'the', 'place', 'it', 'has', 'held', 'in', 'the', 'hearts', 'of', 'many', 'Americans', '.', 'Years', 'of', 'public', 'display', 'have', 'faded', 'and', 'worn', 'this', 'treasured', 'document', '.', 'Today', 'it', 'is', 'maintained', 'under', 'the', 'most', 'exacting', 'archival', 'conditions', 'possible', '.', '\n\n\n\n', 'Snippet', '\n', 'Shop', 'the', 'National', 'Archives', 'Store', '\n\n\n \n\n\n\n \n\n\n\n ', 'This', 'page', 'was', 'last', 'reviewed', 'on', 'January', '31', ',', '2023', '.', '\n', 'Contact', 'us', 'with', 'questions', 'or', 'comments', '.', '\n \n\n\n ', 'Founding', 'Documents', '\n\n\n', 'Explore', 'the', 'Documents', '\n\n\n', 'Declaration', 'of', 'Independence', '\n', 'Constitution', 'of', 'the', 'United', 'States', '\n', 'Bill', 'of', 'Rights', '\n\n\n\n\n\n', 'Special', 'Features', '\n\n\n\n', 'High', 'Resolution', 'Downloads', '\n', 'Sign', 'the', 'Declaration', '\n', 'The', 'Faulkner', 'Murals', '\n', 'Meet', 'the', 'Framers', 'of', 'the', 'Constitution', '\n\n\n\n\n\n', 'Other', 'Resources', '\n\n\n\n', 'Plan', 'Your', 'Visit', 'to', 'the', 'National', 'Archives', 'Museum', '\n', 'View', 'Other', 'Milestone', 'Documents', '\n', 'Browse', 'Revolutionary', 'Era', 'Classroom', 'Activities', '\n', 'Explore', 'Online', 'Exhibits', '\n', 'Search', 'the', 'National', 'Archives', 'Catalog', '\n', 'Shop', 'the', 'Archives', 'Store', '\n\n\n\n\n\n', 'I', 'Want', 'To', '…', '\n\n\n\n', 'Get', 'My', 'Military', 'Record', '\n', 'Plan', 'a', 'Research', 'Visit', '\n', 'Visit', 'the', 'Museum', '\n', 'View', 'Online', 'Exhibits', '\n', 'Apply', 'for', 'a', 'Grant', '\n\n\n\n\n\n', 'Participate', '\n\n\n\n', 'Attend', 'an', 'Event', '\n', 'Donate', 'to', 'the', 'Archives', '\n', 'Work', 'at', 'the', 'Archives', '\n', 'Volunteer', 'at', 'the', 'Archives', '\n\n\n\n\n\n', 'Resources', '\n\n\n\n', 'America', "'s", 'Founding', 'Docs', '\n', 'Contact', 'Us', '\n', 'En', 'Español', '\n', 'FAQs', '\n', 'Forms', '\n\n\n\n\n\n', 'Shop', 'Online', '\n\n\n\n', 'Visit', 'the', 'National', 'Archives', 'Store', '\n', 'Buy', 'Reproductions', 'and', 'Microfilm', '\n\n\n\n\n\n\n\n\n', 'Connect', 'With', 'Us', '\n\n\n', 'Facebook', '\n\n', 'Twitter', '\n\n', 'Instagram', '\n\n', 'Tumblr', '\n\n', 'YouTube', '\n\n', 'Blogs', '\n\n', 'Flickr', '\n\n\n\n\n', 'Contact', 'Us', '·', '\n \n \n \n \n \n\t', 'Accessibility', '·', '\n \n \n \n \n \n\t', 'Privacy', 'Policy', '·', '\n \n \n \n \n \n\t', 'Freedom', 'of', 'Information', 'Act', '·', '\n \n \n \n \n \n\t', 'No', 'FEAR', 'Act', '·', '\n \n \n \n \n \n\t', 'USA.gov', '\n', 'The', 'U.S.', 'National', 'Archives', 'and', 'Records', 'Administration', '\n', '1', '-', '86', '-', 'NARA', '-', 'NARA', 'or', '1', '-', '866', '-', '272', '-', '6272', '\n\n\n\n\n\n\n\n\n\n\n', 'Top', '\n\n \n\n\n']
# 6.3 Index Positions of Tokens
import spacy
nlp = spacy.load("en_core_web_sm")
DeclarIndep_doc = nlp(DeclarIndep_text)
for token in DeclarIndep_doc:
print(token, token.idx)
0
Declaration 26
of 38
Independence 41
: 53
A 55
Transcription 57
| 71
National 73
Archives 82
90
Top 118
121
Skip 123
to 128
main 131
content 136
143
The 150
U.S. 154
National 159
Archives 168
Home 177
181
Menu 182
186
Blogs 190
· 196
197
Bookmark 207
/ 215
Share 216
221
· 223
224
Contact 234
Us 242
244
Search 248
254
Search 257
263
Main 275
menuResearch 280
Our 293
Records 297
304
Veterans 305
' 313
Service 315
Records 323
330
Educator 331
Resources 340
349
Visit 350
Us 356
358
America 359
's 366
Founding 369
Documents 378
387
America 393
's 400
Founding 403
Documents 412
421
Home 423
> 428
America 430
's 437
Founding 440
Documents 449
> 459
Declaration 461
of 473
Independence 476
Transcript 489
500
America 517
's 524
Founding 527
Documents 536
545
Main 547
Page 552
556
Explore 558
the 566
Documents 570
579
Declaration 581
of 593
Independence 596
608
Constitution 609
of 622
the 625
United 629
States 636
642
Bill 643
of 648
Rights 651
657
Special 660
Features 668
676
High 678
Resolution 683
Downloads 694
703
Sign 704
the 709
Declaration 713
or 725
Constitution 728
740
The 741
Faulkner 745
Murals 754
760
Meet 761
the 766
Framers 770
of 778
the 781
Constitution 785
797
Other 799
Resources 805
814
Visit 816
the 822
National 826
Archives 835
Museum 844
850
View 851
Other 856
Milestone 862
Documents 872
881
Browse 882
Teaching 889
Resources 898
for 908
the 912
Revolutionary 916
Era 930
933
Civics 934
for 941
All 945
of 949
US 952
954
Explore 955
Online 963
Exhibits 970
978
Search 979
the 986
National 990
Archives 999
Catalog 1008
1015
Discover 1016
the 1025
Founders 1029
Online 1038
1044
Shop 1045
the 1050
Archives 1054
Store 1063
1068
Ask 1069
a 1073
Question 1075
on 1084
History 1087
Hub 1095
1098
Declaration 1110
of 1122
Independence 1125
: 1137
A 1139
Transcription 1141
1154
Print 1156
This 1162
Page 1167
1171
Note 1176
: 1180
The 1182
following 1186
text 1196
is 1201
a 1204
transcription 1206
of 1220
the 1223
Stone 1227
Engraving 1233
of 1243
the 1246
parchment 1250
Declaration 1260
of 1272
Independence 1275
( 1288
the 1289
document 1293
on 1302
display 1305
in 1313
the 1316
Rotunda 1320
at 1328
the 1331
National 1335
Archives 1344
Museum 1353
. 1359
) 1360
1361
The 1362
spelling 1366
and 1375
punctuation 1379
reflects 1391
the 1400
original 1404
. 1412
1413
In 1416
Congress 1419
, 1427
July 1429
4 1434
, 1435
1776 1437
1441
The 1442
unanimous 1446
Declaration 1456
of 1468
the 1471
thirteen 1475
united 1484
States 1491
of 1498
America 1501
, 1508
When 1510
in 1515
the 1518
Course 1522
of 1529
human 1532
events 1538
, 1544
it 1546
becomes 1549
necessary 1557
for 1567
one 1571
people 1575
to 1582
dissolve 1585
the 1594
political 1598
bands 1608
which 1614
have 1620
connected 1625
them 1635
with 1640
another 1645
, 1652
and 1654
to 1658
assume 1661
among 1668
the 1674
powers 1678
of 1685
the 1688
earth 1692
, 1697
the 1699
separate 1703
and 1712
equal 1716
station 1722
to 1730
which 1733
the 1739
Laws 1743
of 1748
Nature 1751
and 1758
of 1762
Nature 1765
's 1771
God 1774
entitle 1778
them 1786
, 1790
a 1792
decent 1794
respect 1801
to 1809
the 1812
opinions 1816
of 1825
mankind 1828
requires 1836
that 1845
they 1850
should 1855
declare 1862
the 1870
causes 1874
which 1881
impel 1887
them 1893
to 1898
the 1901
separation 1905
. 1915
1916
We 1917
hold 1920
these 1925
truths 1931
to 1938
be 1941
self 1944
- 1948
evident 1949
, 1956
that 1958
all 1963
men 1967
are 1971
created 1975
equal 1983
, 1988
that 1990
they 1995
are 2000
endowed 2004
by 2012
their 2015
Creator 2021
with 2029
certain 2034
unalienable 2042
Rights 2054
, 2060
that 2062
among 2067
these 2073
are 2079
Life 2083
, 2087
Liberty 2089
and 2097
the 2101
pursuit 2105
of 2113
Happiness.--That 2116
to 2133
secure 2136
these 2143
rights 2149
, 2155
Governments 2157
are 2169
instituted 2173
among 2184
Men 2190
, 2193
deriving 2195
their 2204
just 2210
powers 2215
from 2222
the 2227
consent 2231
of 2239
the 2242
governed 2246
, 2254
--That 2256
whenever 2263
any 2272
Form 2276
of 2281
Government 2284
becomes 2295
destructive 2303
of 2315
these 2318
ends 2324
, 2328
it 2330
is 2333
the 2336
Right 2340
of 2346
the 2349
People 2353
to 2360
alter 2363
or 2369
to 2372
abolish 2375
it 2383
, 2385
and 2387
to 2391
institute 2394
new 2404
Government 2408
, 2418
laying 2420
its 2427
foundation 2431
on 2442
such 2445
principles 2450
and 2461
organizing 2465
its 2476
powers 2480
in 2487
such 2490
form 2495
, 2499
as 2501
to 2504
them 2507
shall 2512
seem 2518
most 2523
likely 2528
to 2535
effect 2538
their 2545
Safety 2551
and 2558
Happiness 2562
. 2571
Prudence 2573
, 2581
indeed 2583
, 2589
will 2591
dictate 2596
that 2604
Governments 2609
long 2621
established 2626
should 2638
not 2645
be 2649
changed 2652
for 2660
light 2664
and 2670
transient 2674
causes 2684
; 2690
and 2692
accordingly 2696
all 2708
experience 2712
hath 2723
shewn 2728
, 2733
that 2735
mankind 2740
are 2748
more 2752
disposed 2757
to 2766
suffer 2769
, 2775
while 2777
evils 2783
are 2789
sufferable 2793
, 2803
than 2805
to 2810
right 2813
themselves 2819
by 2830
abolishing 2833
the 2844
forms 2848
to 2854
which 2857
they 2863
are 2868
accustomed 2872
. 2882
But 2884
when 2888
a 2893
long 2895
train 2900
of 2906
abuses 2909
and 2916
usurpations 2920
, 2931
pursuing 2933
invariably 2942
the 2953
same 2957
Object 2962
evinces 2969
a 2977
design 2979
to 2986
reduce 2989
them 2996
under 3001
absolute 3007
Despotism 3016
, 3025
it 3027
is 3030
their 3033
right 3039
, 3044
it 3046
is 3049
their 3052
duty 3058
, 3062
to 3064
throw 3067
off 3073
such 3077
Government 3082
, 3092
and 3094
to 3098
provide 3101
new 3109
Guards 3113
for 3120
their 3124
future 3130
security.--Such 3137
has 3153
been 3157
the 3162
patient 3166
sufferance 3174
of 3185
these 3188
Colonies 3194
; 3202
and 3204
such 3208
is 3213
now 3216
the 3220
necessity 3224
which 3234
constrains 3240
them 3251
to 3256
alter 3259
their 3265
former 3271
Systems 3278
of 3286
Government 3289
. 3299
The 3301
history 3305
of 3313
the 3316
present 3320
King 3328
of 3333
Great 3336
Britain 3342
is 3350
a 3353
history 3355
of 3363
repeated 3366
injuries 3375
and 3384
usurpations 3388
, 3399
all 3401
having 3405
in 3412
direct 3415
object 3422
the 3429
establishment 3433
of 3447
an 3450
absolute 3453
Tyranny 3462
over 3470
these 3475
States 3481
. 3487
To 3489
prove 3492
this 3498
, 3502
let 3504
Facts 3508
be 3514
submitted 3517
to 3527
a 3530
candid 3532
world 3539
. 3544
3545
He 3547
has 3550
refused 3554
his 3562
Assent 3566
to 3573
Laws 3576
, 3580
the 3582
most 3586
wholesome 3591
and 3601
necessary 3605
for 3615
the 3619
public 3623
good 3630
. 3634
3635
He 3636
has 3639
forbidden 3643
his 3653
Governors 3657
to 3667
pass 3670
Laws 3675
of 3680
immediate 3683
and 3693
pressing 3697
importance 3706
, 3716
unless 3718
suspended 3725
in 3735
their 3738
operation 3744
till 3754
his 3759
Assent 3763
should 3770
be 3777
obtained 3780
; 3788
and 3790
when 3794
so 3799
suspended 3802
, 3811
he 3813
has 3816
utterly 3820
neglected 3828
to 3838
attend 3841
to 3848
them 3851
. 3855
3856
He 3857
has 3860
refused 3864
to 3872
pass 3875
other 3880
Laws 3886
for 3891
the 3895
accommodation 3899
of 3913
large 3916
districts 3922
of 3932
people 3935
, 3941
unless 3943
those 3950
people 3956
would 3963
relinquish 3969
the 3980
right 3984
of 3990
Representation 3993
in 4008
the 4011
Legislature 4015
, 4026
a 4028
right 4030
inestimable 4036
to 4048
them 4051
and 4056
formidable 4060
to 4071
tyrants 4074
only 4082
. 4086
4087
He 4088
has 4091
called 4095
together 4102
legislative 4111
bodies 4123
at 4130
places 4133
unusual 4140
, 4147
uncomfortable 4149
, 4162
and 4164
distant 4168
from 4176
the 4181
depository 4185
of 4196
their 4199
public 4205
Records 4212
, 4219
for 4221
the 4225
sole 4229
purpose 4234
of 4242
fatiguing 4245
them 4255
into 4260
compliance 4265
with 4276
his 4281
measures 4285
. 4293
4294
He 4295
has 4298
dissolved 4302
Representative 4312
Houses 4327
repeatedly 4334
, 4344
for 4346
opposing 4350
with 4359
manly 4364
firmness 4370
his 4379
invasions 4383
on 4393
the 4396
rights 4400
of 4407
the 4410
people 4414
. 4420
4421
He 4422
has 4425
refused 4429
for 4437
a 4441
long 4443
time 4448
, 4452
after 4454
such 4460
dissolutions 4465
, 4477
to 4479
cause 4482
others 4488
to 4495
be 4498
elected 4501
; 4508
whereby 4510
the 4518
Legislative 4522
powers 4534
, 4540
incapable 4542
of 4552
Annihilation 4555
, 4567
have 4569
returned 4574
to 4583
the 4586
People 4590
at 4597
large 4600
for 4606
their 4610
exercise 4616
; 4624
the 4626
State 4630
remaining 4636
in 4646
the 4649
mean 4653
time 4658
exposed 4663
to 4671
all 4674
the 4678
dangers 4682
of 4690
invasion 4693
from 4702
without 4707
, 4714
and 4716
convulsions 4720
within 4732
. 4738
4739
He 4740
has 4743
endeavoured 4747
to 4759
prevent 4762
the 4770
population 4774
of 4785
these 4788
States 4794
; 4800
for 4802
that 4806
purpose 4811
obstructing 4819
the 4831
Laws 4835
for 4840
Naturalization 4844
of 4859
Foreigners 4862
; 4872
refusing 4874
to 4883
pass 4886
others 4891
to 4898
encourage 4901
their 4911
migrations 4917
hither 4928
, 4934
and 4936
raising 4940
the 4948
conditions 4952
of 4963
new 4966
Appropriations 4970
of 4985
Lands 4988
. 4993
4994
He 4995
has 4998
obstructed 5002
the 5013
Administration 5017
of 5032
Justice 5035
, 5042
by 5044
refusing 5047
his 5056
Assent 5060
to 5067
Laws 5070
for 5075
establishing 5079
Judiciary 5092
powers 5102
. 5108
5109
He 5110
has 5113
made 5117
Judges 5122
dependent 5129
on 5139
his 5142
Will 5146
alone 5151
, 5156
for 5158
the 5162
tenure 5166
of 5173
their 5176
offices 5182
, 5189
and 5191
the 5195
amount 5199
and 5206
payment 5210
of 5218
their 5221
salaries 5227
. 5235
5236
He 5237
has 5240
erected 5244
a 5252
multitude 5254
of 5264
New 5267
Offices 5271
, 5278
and 5280
sent 5284
hither 5289
swarms 5296
of 5303
Officers 5306
to 5315
harrass 5318
our 5326
people 5330
, 5336
and 5338
eat 5342
out 5346
their 5350
substance 5356
. 5365
5366
He 5367
has 5370
kept 5374
among 5379
us 5385
, 5387
in 5389
times 5392
of 5398
peace 5401
, 5406
Standing 5408
Armies 5417
without 5424
the 5432
Consent 5436
of 5444
our 5447
legislatures 5451
. 5463
5464
He 5465
has 5468
affected 5472
to 5481
render 5484
the 5491
Military 5495
independent 5504
of 5516
and 5519
superior 5523
to 5532
the 5535
Civil 5539
power 5545
. 5550
5551
He 5552
has 5555
combined 5559
with 5568
others 5573
to 5580
subject 5583
us 5591
to 5594
a 5597
jurisdiction 5599
foreign 5612
to 5620
our 5623
constitution 5627
, 5639
and 5641
unacknowledged 5645
by 5660
our 5663
laws 5667
; 5671
giving 5673
his 5680
Assent 5684
to 5691
their 5694
Acts 5700
of 5705
pretended 5708
Legislation 5718
: 5729
5730
For 5731
Quartering 5735
large 5746
bodies 5752
of 5759
armed 5762
troops 5768
among 5775
us 5781
: 5783
5784
For 5785
protecting 5789
them 5800
, 5804
by 5806
a 5809
mock 5811
Trial 5816
, 5821
from 5823
punishment 5828
for 5839
any 5843
Murders 5847
which 5855
they 5861
should 5866
commit 5873
on 5880
the 5883
Inhabitants 5887
of 5899
these 5902
States 5908
: 5914
5915
For 5916
cutting 5920
off 5928
our 5932
Trade 5936
with 5942
all 5947
parts 5951
of 5957
the 5960
world 5964
: 5969
5970
For 5971
imposing 5975
Taxes 5984
on 5990
us 5993
without 5996
our 6004
Consent 6008
: 6015
6016
For 6017
depriving 6021
us 6031
in 6034
many 6037
cases 6042
, 6047
of 6049
the 6052
benefits 6056
of 6065
Trial 6068
by 6074
Jury 6077
: 6081
6082
For 6083
transporting 6087
us 6100
beyond 6103
Seas 6110
to 6115
be 6118
tried 6121
for 6127
pretended 6131
offences 6141
6149
For 6150
abolishing 6154
the 6165
free 6169
System 6174
of 6181
English 6184
Laws 6192
in 6197
a 6200
neighbouring 6202
Province 6215
, 6223
establishing 6225
therein 6238
an 6246
Arbitrary 6249
government 6259
, 6269
and 6271
enlarging 6275
its 6285
Boundaries 6289
so 6300
as 6303
to 6306
render 6309
it 6316
at 6319
once 6322
an 6327
example 6330
and 6338
fit 6342
instrument 6346
for 6357
introducing 6361
the 6373
same 6377
absolute 6382
rule 6391
into 6396
these 6401
Colonies 6407
: 6415
6416
For 6417
taking 6421
away 6428
our 6433
Charters 6437
, 6445
abolishing 6447
our 6458
most 6462
valuable 6467
Laws 6476
, 6480
and 6482
altering 6486
fundamentally 6495
the 6509
Forms 6513
of 6519
our 6522
Governments 6526
: 6537
6538
For 6539
suspending 6543
our 6554
own 6558
Legislatures 6562
, 6574
and 6576
declaring 6580
themselves 6590
invested 6601
with 6610
power 6615
to 6621
legislate 6624
for 6634
us 6638
in 6641
all 6644
cases 6648
whatsoever 6654
. 6664
6665
He 6666
has 6669
abdicated 6673
Government 6683
here 6694
, 6698
by 6700
declaring 6703
us 6713
out 6716
of 6720
his 6723
Protection 6727
and 6738
waging 6742
War 6749
against 6753
us 6761
. 6763
6764
He 6765
has 6768
plundered 6772
our 6782
seas 6786
, 6790
ravaged 6792
our 6800
Coasts 6804
, 6810
burnt 6812
our 6818
towns 6822
, 6827
and 6829
destroyed 6833
the 6843
lives 6847
of 6853
our 6856
people 6860
. 6866
6867
He 6868
is 6871
at 6874
this 6877
time 6882
transporting 6887
large 6900
Armies 6906
of 6913
foreign 6916
Mercenaries 6924
to 6936
compleat 6939
the 6948
works 6952
of 6958
death 6961
, 6966
desolation 6968
and 6979
tyranny 6983
, 6990
already 6992
begun 7000
with 7006
circumstances 7011
of 7025
Cruelty 7028
& 7036
perfidy 7038
scarcely 7046
paralleled 7055
in 7066
the 7069
most 7073
barbarous 7078
ages 7088
, 7092
and 7094
totally 7098
unworthy 7106
the 7115
Head 7119
of 7124
a 7127
civilized 7129
nation 7139
. 7145
7146
He 7147
has 7150
constrained 7154
our 7166
fellow 7170
Citizens 7177
taken 7186
Captive 7192
on 7200
the 7203
high 7207
Seas 7212
to 7217
bear 7220
Arms 7225
against 7230
their 7238
Country 7244
, 7251
to 7253
become 7256
the 7263
executioners 7267
of 7280
their 7283
friends 7289
and 7297
Brethren 7301
, 7309
or 7311
to 7314
fall 7317
themselves 7322
by 7333
their 7336
Hands 7342
. 7347
7348
He 7349
has 7352
excited 7356
domestic 7364
insurrections 7373
amongst 7387
us 7395
, 7397
and 7399
has 7403
endeavoured 7407
to 7419
bring 7422
on 7428
the 7431
inhabitants 7435
of 7447
our 7450
frontiers 7454
, 7463
the 7465
merciless 7469
Indian 7479
Savages 7486
, 7493
whose 7495
known 7501
rule 7507
of 7512
warfare 7515
, 7522
is 7524
an 7527
undistinguished 7530
destruction 7546
of 7558
all 7561
ages 7565
, 7569
sexes 7571
and 7577
conditions 7581
. 7591
7592
In 7594
every 7597
stage 7603
of 7609
these 7612
Oppressions 7618
We 7630
have 7633
Petitioned 7638
for 7649
Redress 7653
in 7661
the 7664
most 7668
humble 7673
terms 7680
: 7685
Our 7687
repeated 7691
Petitions 7700
have 7710
been 7715
answered 7720
only 7729
by 7734
repeated 7737
injury 7746
. 7752
A 7754
Prince 7756
whose 7763
character 7769
is 7779
thus 7782
marked 7787
by 7794
every 7797
act 7803
which 7807
may 7813
define 7817
a 7824
Tyrant 7826
, 7832
is 7834
unfit 7837
to 7843
be 7846
the 7849
ruler 7853
of 7859
a 7862
free 7864
people 7869
. 7875
7876
Nor 7877
have 7881
We 7886
been 7889
wanting 7894
in 7902
attentions 7905
to 7916
our 7919
Brittish 7923
brethren 7932
. 7940
We 7942
have 7945
warned 7950
them 7957
from 7962
time 7967
to 7972
time 7975
of 7980
attempts 7983
by 7992
their 7995
legislature 8001
to 8013
extend 8016
an 8023
unwarrantable 8026
jurisdiction 8040
over 8053
us 8058
. 8060
We 8062
have 8065
reminded 8070
them 8079
of 8084
the 8087
circumstances 8091
of 8105
our 8108
emigration 8112
and 8123
settlement 8127
here 8138
. 8142
We 8144
have 8147
appealed 8152
to 8161
their 8164
native 8170
justice 8177
and 8185
magnanimity 8189
, 8200
and 8202
we 8206
have 8209
conjured 8214
them 8223
by 8228
the 8231
ties 8235
of 8240
our 8243
common 8247
kindred 8254
to 8262
disavow 8265
these 8273
usurpations 8279
, 8290
which 8292
, 8297
would 8299
inevitably 8305
interrupt 8316
our 8326
connections 8330
and 8342
correspondence 8346
. 8360
They 8362
too 8367
have 8371
been 8376
deaf 8381
to 8386
the 8389
voice 8393
of 8399
justice 8402
and 8410
of 8414
consanguinity 8417
. 8430
We 8432
must 8435
, 8439
therefore 8441
, 8450
acquiesce 8452
in 8462
the 8465
necessity 8469
, 8478
which 8480
denounces 8486
our 8496
Separation 8500
, 8510
and 8512
hold 8516
them 8521
, 8525
as 8527
we 8530
hold 8533
the 8538
rest 8542
of 8547
mankind 8550
, 8557
Enemies 8559
in 8567
War 8570
, 8573
in 8575
Peace 8578
Friends 8584
. 8591
8592
We 8593
, 8595
therefore 8597
, 8606
the 8608
Representatives 8612
of 8628
the 8631
united 8635
States 8642
of 8649
America 8652
, 8659
in 8661
General 8664
Congress 8672
, 8680
Assembled 8682
, 8691
appealing 8693
to 8703
the 8706
Supreme 8710
Judge 8718
of 8724
the 8727
world 8731
for 8737
the 8741
rectitude 8745
of 8755
our 8758
intentions 8762
, 8772
do 8774
, 8776
in 8778
the 8781
Name 8785
, 8789
and 8791
by 8795
Authority 8798
of 8808
the 8811
good 8815
People 8820
of 8827
these 8830
Colonies 8836
, 8844
solemnly 8846
publish 8855
and 8863
declare 8867
, 8874
That 8876
these 8881
United 8887
Colonies 8894
are 8903
, 8906
and 8908
of 8912
Right 8915
ought 8921
to 8927
be 8930
Free 8933
and 8938
Independent 8942
States 8954
; 8960
that 8962
they 8967
are 8972
Absolved 8976
from 8985
all 8990
Allegiance 8994
to 9005
the 9008
British 9012
Crown 9020
, 9025
and 9027
that 9031
all 9036
political 9040
connection 9050
between 9061
them 9069
and 9074
the 9078
State 9082
of 9088
Great 9091
Britain 9097
, 9104
is 9106
and 9109
ought 9113
to 9119
be 9122
totally 9125
dissolved 9133
; 9142
and 9144
that 9148
as 9153
Free 9156
and 9161
Independent 9165
States 9177
, 9183
they 9185
have 9190
full 9195
Power 9200
to 9206
levy 9209
War 9214
, 9217
conclude 9219
Peace 9228
, 9233
contract 9235
Alliances 9244
, 9253
establish 9255
Commerce 9265
, 9273
and 9275
to 9279
do 9282
all 9285
other 9289
Acts 9295
and 9300
Things 9304
which 9311
Independent 9317
States 9329
may 9336
of 9340
right 9343
do 9349
. 9351
And 9353
for 9357
the 9361
support 9365
of 9373
this 9376
Declaration 9381
, 9392
with 9394
a 9399
firm 9401
reliance 9406
on 9415
the 9418
protection 9422
of 9433
divine 9436
Providence 9443
, 9453
we 9455
mutually 9458
pledge 9467
to 9474
each 9477
other 9482
our 9488
Lives 9492
, 9497
our 9499
Fortunes 9503
and 9512
our 9516
sacred 9520
Honor 9527
. 9532
9533
Georgia 9537
9544
Button 9545
Gwinnett 9552
9560
Lyman 9561
Hall 9567
9571
George 9572
Walton 9579
9585
North 9588
Carolina 9594
9602
William 9603
Hooper 9611
9617
Joseph 9618
Hewes 9625
9630
John 9631
Penn 9636
9640
South 9643
Carolina 9649
9657
Edward 9658
Rutledge 9665
9673
Thomas 9674
Heyward 9681
, 9688
Jr. 9690
9693
Thomas 9694
Lynch 9701
, 9706
Jr. 9708
9711
Arthur 9712
Middleton 9719
9728
Massachusetts 9731
9744
John 9745
Hancock 9750
9757
Maryland 9760
9768
Samuel 9769
Chase 9776
9781
William 9782
Paca 9790
9794
Thomas 9795
Stone 9802
9807
Charles 9808
Carroll 9816
of 9824
Carrollton 9827
9837
Virginia 9840
9848
George 9849
Wythe 9856
9861
Richard 9862
Henry 9870
Lee 9876
9879
Thomas 9880
Jefferson 9887
9896
Benjamin 9897
Harrison 9906
9914
Thomas 9915
Nelson 9922
, 9928
Jr. 9930
9933
Francis 9934
Lightfoot 9942
Lee 9952
9955
Carter 9956
Braxton 9963
9970
Pennsylvania 9973
9985
Robert 9986
Morris 9993
9999
Benjamin 10000
Rush 10009
10013
Benjamin 10014
Franklin 10023
10031
John 10032
Morton 10037
10043
George 10044
Clymer 10051
10057
James 10058
Smith 10064
10069
George 10070
Taylor 10077
10083
James 10084
Wilson 10090
10096
George 10097
Ross 10104
10108
Delaware 10111
10119
Caesar 10120
Rodney 10127
10133
George 10134
Read 10141
10145
Thomas 10146
McKean 10153
10159
New 10162
York 10166
10170
William 10171
Floyd 10179
10184
Philip 10185
Livingston 10192
10202
Francis 10203
Lewis 10211
10216
Lewis 10217
Morris 10223
10229
New 10232
Jersey 10236
10242
Richard 10243
Stockton 10251
10259
John 10260
Witherspoon 10265
10276
Francis 10277
Hopkinson 10285
10294
John 10295
Hart 10300
10304
Abraham 10305
Clark 10313
10318
New 10321
Hampshire 10325
10334
Josiah 10335
Bartlett 10342
10350
William 10351
Whipple 10359
10366
Massachusetts 10371
10384
Samuel 10385
Adams 10392
10397
John 10398
Adams 10403
10408
Robert 10409
Treat 10416
Paine 10422
10427
Elbridge 10428
Gerry 10437
10442
Rhode 10445
Island 10451
10457
Stephen 10458
Hopkins 10466
10473
William 10474
Ellery 10482
10488
Connecticut 10491
10502
Roger 10503
Sherman 10509
10516
Samuel 10517
Huntington 10524
10534
William 10535
Williams 10543
10551
Oliver 10552
Wolcott 10559
10566
New 10569
Hampshire 10573
10582
Matthew 10583
Thornton 10591
10599
Back 10606
to 10611
Main 10614
Declaration 10619
Page 10631
10635
Snippet 10643
10650
About 10651
the 10657
Declaration 10661
10672
What 10674
Does 10679
it 10684
Say 10687
? 10690
10691
The 10692
meaning 10696
of 10704
the 10707
document 10711
10719
How 10721
Did 10725
it 10729
Happen 10732
? 10738
10739
The 10740
history 10744
of 10752
the 10755
document 10759
10767
How 10769
Was 10773
it 10777
Made 10780
? 10784
10785
The 10786
creation 10790
of 10799
the 10802
parchment 10806
document 10816
10824
Where 10826
can 10832
I 10836
learn 10838
about 10844
the 10850
Declaration 10854
? 10865
10866
Additional 10867
activities 10878
and 10889
information 10893
10904
How 10906
can 10910
I 10914
visit 10916
the 10922
Declaration 10926
? 10937
10938
The 10939
National 10943
Archives 10952
Museum 10961
10967
Read 10969
a 10974
Transcript 10976
10986
Declaration 10987
of 10999
Independence 11002
transcript 11015
11025
Enlarge 11031
11038
Declaration 11039
of 11051
Independence 11054
11066
The 11067
condition 11071
of 11081
the 11084
parchment 11088
Declaration 11098
of 11110
Independence 11113
is 11126
a 11129
sign 11131
of 11136
the 11139
place 11143
it 11149
has 11152
held 11156
in 11161
the 11164
hearts 11168
of 11175
many 11178
Americans 11183
. 11192
Years 11194
of 11200
public 11203
display 11210
have 11218
faded 11223
and 11229
worn 11233
this 11238
treasured 11243
document 11253
. 11261
Today 11263
it 11269
is 11272
maintained 11275
under 11286
the 11292
most 11296
exacting 11301
archival 11310
conditions 11319
possible 11330
. 11338
11339
Snippet 11343
11350
Shop 11351
the 11356
National 11360
Archives 11369
Store 11378
11383
This 11397
page 11402
was 11407
last 11411
reviewed 11416
on 11425
January 11428
31 11436
, 11438
2023 11440
. 11444
11445
Contact 11446
us 11454
with 11457
questions 11462
or 11472
comments 11475
. 11483
11484
Founding 11495
Documents 11504
11513
Explore 11516
the 11524
Documents 11528
11537
Declaration 11540
of 11552
Independence 11555
11567
Constitution 11568
of 11581
the 11584
United 11588
States 11595
11601
Bill 11602
of 11607
Rights 11610
11616
Special 11622
Features 11630
11638
High 11642
Resolution 11647
Downloads 11658
11667
Sign 11668
the 11673
Declaration 11677
11688
The 11689
Faulkner 11693
Murals 11702
11708
Meet 11709
the 11714
Framers 11718
of 11726
the 11729
Constitution 11733
11745
Other 11751
Resources 11757
11766
Plan 11770
Your 11775
Visit 11780
to 11786
the 11789
National 11793
Archives 11802
Museum 11811
11817
View 11818
Other 11823
Milestone 11829
Documents 11839
11848
Browse 11849
Revolutionary 11856
Era 11870
Classroom 11874
Activities 11884
11894
Explore 11895
Online 11903
Exhibits 11910
11918
Search 11919
the 11926
National 11930
Archives 11939
Catalog 11948
11955
Shop 11956
the 11961
Archives 11965
Store 11974
11979
I 11985
Want 11987
To 11992
… 11994
11995
Get 11999
My 12003
Military 12006
Record 12015
12021
Plan 12022
a 12027
Research 12029
Visit 12038
12043
Visit 12044
the 12050
Museum 12054
12060
View 12061
Online 12066
Exhibits 12073
12081
Apply 12082
for 12088
a 12092
Grant 12094
12099
Participate 12105
12116
Attend 12120
an 12127
Event 12130
12135
Donate 12136
to 12143
the 12146
Archives 12150
12158
Work 12159
at 12164
the 12167
Archives 12171
12179
Volunteer 12180
at 12190
the 12193
Archives 12197
12205
Resources 12211
12220
America 12224
's 12231
Founding 12234
Docs 12243
12247
Contact 12248
Us 12256
12258
En 12259
Español 12262
12269
FAQs 12270
12274
Forms 12275
12280
Shop 12286
Online 12291
12297
Visit 12301
the 12307
National 12311
Archives 12320
Store 12329
12334
Buy 12335
Reproductions 12339
and 12353
Microfilm 12357
12366
Connect 12375
With 12383
Us 12388
12390
Facebook 12393
12401
Twitter 12403
12410
Instagram 12412
12421
Tumblr 12423
12429
YouTube 12431
12438
Blogs 12440
12445
Flickr 12447
12453
Contact 12458
Us 12466
· 12469
12471
Accessibility 12483
· 12497
12499
Privacy 12511
Policy 12519
· 12526
12528
Freedom 12540
of 12548
Information 12551
Act 12563
· 12567
12569
No 12581
FEAR 12584
Act 12589
· 12593
12595
USA.gov 12607
12614
The 12615
U.S. 12619
National 12624
Archives 12633
and 12642
Records 12646
Administration 12654
12668
1 12669
- 12670
86 12671
- 12673
NARA 12674
- 12678
NARA 12679
or 12684
1 12687
- 12688
866 12689
- 12692
272 12693
- 12696
6272 12697
12701
Top 12712
12715
For this particular section I did not apply the removal of stop words because I wanted to see what was considered a stop word according to spaCy. The first part(7.1) I will evaluate the actual index of the words according to spaCy. I have already addressed Stop_words earlier in the method as well as the removal of punctuation.
print(
f"{'Text with Whitespace':22}"
f"{'Is Alphanumeric?':15}"
f"{'Is Punctuation?':18}"
f"{'Is Stop Word?'}")
for interesting_tokens in DeclarIndep_doc:
print(
f"{str(interesting_tokens.text_with_ws).strip():22}"
f"{str(interesting_tokens.is_alpha).strip():15}"
f"{str(interesting_tokens.is_punct).strip():18}"
f"{str(interesting_tokens.is_stop).strip()}"
)
Text with Whitespace Is Alphanumeric?Is Punctuation? Is Stop Word?
False False False
Declaration True False True
of True False True
Independence True False True
: False True False
A True False True
Transcription True False True
| False False False
National True False True
Archives True False True
False False False
Top True False True
False False False
Skip True False False
to True False True
main True False True
content True False False
False False False
The True False True
U.S. False False True
National True False True
Archives True False True
Home True False True
False False False
Menu True False True
False False False
Blogs True False True
· False True True
False False False
Bookmark True False False
/ False True False
Share True False False
False False False
· False True True
False False False
Contact True False True
Us True False True
False False False
Search True False True
False False False
Search True False True
False False False
Main True False True
menuResearch True False False
Our True False True
Records True False False
False False False
Veterans True False False
' False True False
Service True False False
Records True False False
False False False
Educator True False True
Resources True False True
False False False
Visit True False True
Us True False True
False False False
America True False False
's False False True
Founding True False True
Documents True False True
False False False
America True False False
's False False True
Founding True False True
Documents True False True
False False False
Home True False True
> False False True
America True False False
's False False True
Founding True False True
Documents True False True
> False False True
Declaration True False True
of True False True
Independence True False True
Transcript True False True
False False False
America True False False
's False False True
Founding True False True
Documents True False True
False False False
Main True False True
Page True False True
False False False
Explore True False True
the True False True
Documents True False True
False False False
Declaration True False True
of True False True
Independence True False True
False False False
Constitution True False False
of True False True
the True False True
United True False False
States True False False
False False False
Bill True False False
of True False True
Rights True False False
False False False
Special True False False
Features True False False
False False False
High True False False
Resolution True False False
Downloads True False False
False False False
Sign True False False
the True False True
Declaration True False True
or True False True
Constitution True False False
False False False
The True False True
Faulkner True False False
Murals True False False
False False False
Meet True False False
the True False True
Framers True False False
of True False True
the True False True
Constitution True False False
False False False
Other True False True
Resources True False True
False False False
Visit True False True
the True False True
National True False True
Archives True False True
Museum True False True
False False False
View True False False
Other True False True
Milestone True False False
Documents True False True
False False False
Browse True False False
Teaching True False False
Resources True False True
for True False True
the True False True
Revolutionary True False False
Era True False False
False False False
Civics True False False
for True False True
All True False True
of True False True
US True False True
False False False
Explore True False True
Online True False True
Exhibits True False False
False False False
Search True False True
the True False True
National True False True
Archives True False True
Catalog True False False
False False False
Discover True False False
the True False True
Founders True False False
Online True False True
False False False
Shop True False True
the True False True
Archives True False True
Store True False True
False False False
Ask True False False
a True False True
Question True False False
on True False True
History True False False
Hub True False False
False False False
Declaration True False True
of True False True
Independence True False True
: False True False
A True False True
Transcription True False True
False False False
Print True False True
This True False True
Page True False True
False False False
Note True False False
: False True False
The True False True
following True False False
text True False False
is True False True
a True False True
transcription True False True
of True False True
the True False True
Stone True False False
Engraving True False False
of True False True
the True False True
parchment True False False
Declaration True False True
of True False True
Independence True False True
( False True False
the True False True
document True False False
on True False True
display True False False
in True False True
the True False True
Rotunda True False False
at True False True
the True False True
National True False True
Archives True False True
Museum True False True
. False True False
) False True False
False False False
The True False True
spelling True False False
and True False True
punctuation True False False
reflects True False False
the True False True
original True False False
. False True False
False False False
In True False True
Congress True False False
, False True False
July True False False
4 False False False
, False True False
1776 False False False
False False False
The True False True
unanimous True False False
Declaration True False True
of True False True
the True False True
thirteen True False False
united True False False
States True False False
of True False True
America True False False
, False True False
When True False True
in True False True
the True False True
Course True False False
of True False True
human True False False
events True False False
, False True False
it True False True
becomes True False True
necessary True False False
for True False True
one True False True
people True False False
to True False True
dissolve True False False
the True False True
political True False False
bands True False False
which True False True
have True False True
connected True False False
them True False True
with True False True
another True False True
, False True False
and True False True
to True False True
assume True False False
among True False True
the True False True
powers True False False
of True False True
the True False True
earth True False False
, False True False
the True False True
separate True False False
and True False True
equal True False False
station True False False
to True False True
which True False True
the True False True
Laws True False False
of True False True
Nature True False False
and True False True
of True False True
Nature True False False
's False False True
God True False False
entitle True False False
them True False True
, False True False
a True False True
decent True False False
respect True False False
to True False True
the True False True
opinions True False False
of True False True
mankind True False False
requires True False False
that True False True
they True False True
should True False True
declare True False False
the True False True
causes True False False
which True False True
impel True False False
them True False True
to True False True
the True False True
separation True False False
. False True False
False False False
We True False True
hold True False False
these True False True
truths True False False
to True False True
be True False True
self True False False
- False True False
evident True False False
, False True False
that True False True
all True False True
men True False False
are True False True
created True False False
equal True False False
, False True False
that True False True
they True False True
are True False True
endowed True False False
by True False True
their True False True
Creator True False False
with True False True
certain True False False
unalienable True False False
Rights True False False
, False True False
that True False True
among True False True
these True False True
are True False True
Life True False False
, False True False
Liberty True False False
and True False True
the True False True
pursuit True False False
of True False True
Happiness.--That False False False
to True False True
secure True False False
these True False True
rights True False False
, False True False
Governments True False False
are True False True
instituted True False False
among True False True
Men True False False
, False True False
deriving True False False
their True False True
just True False True
powers True False False
from True False True
the True False True
consent True False False
of True False True
the True False True
governed True False False
, False True False
--That False False False
whenever True False True
any True False True
Form True False False
of True False True
Government True False False
becomes True False True
destructive True False False
of True False True
these True False True
ends True False False
, False True False
it True False True
is True False True
the True False True
Right True False False
of True False True
the True False True
People True False False
to True False True
alter True False False
or True False True
to True False True
abolish True False False
it True False True
, False True False
and True False True
to True False True
institute True False False
new True False False
Government True False False
, False True False
laying True False False
its True False True
foundation True False False
on True False True
such True False True
principles True False False
and True False True
organizing True False False
its True False True
powers True False False
in True False True
such True False True
form True False False
, False True False
as True False True
to True False True
them True False True
shall True False False
seem True False True
most True False True
likely True False False
to True False True
effect True False False
their True False True
Safety True False False
and True False True
Happiness True False False
. False True False
Prudence True False False
, False True False
indeed True False True
, False True False
will True False True
dictate True False False
that True False True
Governments True False False
long True False False
established True False False
should True False True
not True False True
be True False True
changed True False False
for True False True
light True False False
and True False True
transient True False False
causes True False False
; False True False
and True False True
accordingly True False False
all True False True
experience True False False
hath True False False
shewn True False False
, False True False
that True False True
mankind True False False
are True False True
more True False True
disposed True False False
to True False True
suffer True False False
, False True False
while True False True
evils True False False
are True False True
sufferable True False False
, False True False
than True False True
to True False True
right True False False
themselves True False True
by True False True
abolishing True False False
the True False True
forms True False False
to True False True
which True False True
they True False True
are True False True
accustomed True False False
. False True False
But True False True
when True False True
a True False True
long True False False
train True False False
of True False True
abuses True False False
and True False True
usurpations True False False
, False True False
pursuing True False False
invariably True False False
the True False True
same True False True
Object True False False
evinces True False False
a True False True
design True False False
to True False True
reduce True False False
them True False True
under True False True
absolute True False False
Despotism True False False
, False True False
it True False True
is True False True
their True False True
right True False False
, False True False
it True False True
is True False True
their True False True
duty True False False
, False True False
to True False True
throw True False False
off True False True
such True False True
Government True False False
, False True False
and True False True
to True False True
provide True False False
new True False False
Guards True False False
for True False True
their True False True
future True False False
security.--Such False False False
has True False True
been True False True
the True False True
patient True False False
sufferance True False False
of True False True
these True False True
Colonies True False False
; False True False
and True False True
such True False True
is True False True
now True False True
the True False True
necessity True False False
which True False True
constrains True False False
them True False True
to True False True
alter True False False
their True False True
former True False True
Systems True False False
of True False True
Government True False False
. False True False
The True False True
history True False False
of True False True
the True False True
present True False False
King True False False
of True False True
Great True False False
Britain True False False
is True False True
a True False True
history True False False
of True False True
repeated True False False
injuries True False False
and True False True
usurpations True False False
, False True False
all True False True
having True False False
in True False True
direct True False False
object True False False
the True False True
establishment True False False
of True False True
an True False True
absolute True False False
Tyranny True False False
over True False True
these True False True
States True False False
. False True False
To True False True
prove True False False
this True False True
, False True False
let True False False
Facts True False False
be True False True
submitted True False False
to True False True
a True False True
candid True False False
world True False False
. False True False
False False False
He True False True
has True False True
refused True False False
his True False True
Assent True False False
to True False True
Laws True False False
, False True False
the True False True
most True False True
wholesome True False False
and True False True
necessary True False False
for True False True
the True False True
public True False False
good True False False
. False True False
False False False
He True False True
has True False True
forbidden True False False
his True False True
Governors True False False
to True False True
pass True False False
Laws True False False
of True False True
immediate True False False
and True False True
pressing True False False
importance True False False
, False True False
unless True False True
suspended True False False
in True False True
their True False True
operation True False False
till True False False
his True False True
Assent True False False
should True False True
be True False True
obtained True False False
; False True False
and True False True
when True False True
so True False True
suspended True False False
, False True False
he True False True
has True False True
utterly True False False
neglected True False False
to True False True
attend True False False
to True False True
them True False True
. False True False
False False False
He True False True
has True False True
refused True False False
to True False True
pass True False False
other True False True
Laws True False False
for True False True
the True False True
accommodation True False False
of True False True
large True False False
districts True False False
of True False True
people True False False
, False True False
unless True False True
those True False True
people True False False
would True False True
relinquish True False False
the True False True
right True False False
of True False True
Representation True False False
in True False True
the True False True
Legislature True False False
, False True False
a True False True
right True False False
inestimable True False False
to True False True
them True False True
and True False True
formidable True False False
to True False True
tyrants True False False
only True False True
. False True False
False False False
He True False True
has True False True
called True False False
together True False True
legislative True False False
bodies True False False
at True False True
places True False False
unusual True False False
, False True False
uncomfortable True False False
, False True False
and True False True
distant True False False
from True False True
the True False True
depository True False False
of True False True
their True False True
public True False False
Records True False False
, False True False
for True False True
the True False True
sole True False False
purpose True False False
of True False True
fatiguing True False False
them True False True
into True False True
compliance True False False
with True False True
his True False True
measures True False False
. False True False
False False False
He True False True
has True False True
dissolved True False False
Representative True False False
Houses True False False
repeatedly True False False
, False True False
for True False True
opposing True False False
with True False True
manly True False False
firmness True False False
his True False True
invasions True False False
on True False True
the True False True
rights True False False
of True False True
the True False True
people True False False
. False True False
False False False
He True False True
has True False True
refused True False False
for True False True
a True False True
long True False False
time True False False
, False True False
after True False True
such True False True
dissolutions True False False
, False True False
to True False True
cause True False False
others True False True
to True False True
be True False True
elected True False False
; False True False
whereby True False True
the True False True
Legislative True False False
powers True False False
, False True False
incapable True False False
of True False True
Annihilation True False False
, False True False
have True False True
returned True False False
to True False True
the True False True
People True False False
at True False True
large True False False
for True False True
their True False True
exercise True False False
; False True False
the True False True
State True False False
remaining True False False
in True False True
the True False True
mean True False False
time True False False
exposed True False False
to True False True
all True False True
the True False True
dangers True False False
of True False True
invasion True False False
from True False True
without True False True
, False True False
and True False True
convulsions True False False
within True False True
. False True False
False False False
He True False True
has True False True
endeavoured True False False
to True False True
prevent True False False
the True False True
population True False False
of True False True
these True False True
States True False False
; False True False
for True False True
that True False True
purpose True False False
obstructing True False False
the True False True
Laws True False False
for True False True
Naturalization True False False
of True False True
Foreigners True False False
; False True False
refusing True False False
to True False True
pass True False False
others True False True
to True False True
encourage True False False
their True False True
migrations True False False
hither True False False
, False True False
and True False True
raising True False False
the True False True
conditions True False False
of True False True
new True False False
Appropriations True False False
of True False True
Lands True False False
. False True False
False False False
He True False True
has True False True
obstructed True False False
the True False True
Administration True False False
of True False True
Justice True False False
, False True False
by True False True
refusing True False False
his True False True
Assent True False False
to True False True
Laws True False False
for True False True
establishing True False False
Judiciary True False False
powers True False False
. False True False
False False False
He True False True
has True False True
made True False True
Judges True False False
dependent True False False
on True False True
his True False True
Will True False True
alone True False True
, False True False
for True False True
the True False True
tenure True False False
of True False True
their True False True
offices True False False
, False True False
and True False True
the True False True
amount True False True
and True False True
payment True False False
of True False True
their True False True
salaries True False False
. False True False
False False False
He True False True
has True False True
erected True False False
a True False True
multitude True False False
of True False True
New True False False
Offices True False False
, False True False
and True False True
sent True False False
hither True False False
swarms True False False
of True False True
Officers True False False
to True False True
harrass True False False
our True False True
people True False False
, False True False
and True False True
eat True False False
out True False True
their True False True
substance True False False
. False True False
False False False
He True False True
has True False True
kept True False False
among True False True
us True False True
, False True False
in True False True
times True False False
of True False True
peace True False False
, False True False
Standing True False False
Armies True False False
without True False True
the True False True
Consent True False False
of True False True
our True False True
legislatures True False False
. False True False
False False False
He True False True
has True False True
affected True False False
to True False True
render True False False
the True False True
Military True False False
independent True False False
of True False True
and True False True
superior True False False
to True False True
the True False True
Civil True False False
power True False False
. False True False
False False False
He True False True
has True False True
combined True False False
with True False True
others True False True
to True False True
subject True False False
us True False True
to True False True
a True False True
jurisdiction True False False
foreign True False False
to True False True
our True False True
constitution True False False
, False True False
and True False True
unacknowledged True False False
by True False True
our True False True
laws True False False
; False True False
giving True False False
his True False True
Assent True False False
to True False True
their True False True
Acts True False False
of True False True
pretended True False False
Legislation True False False
: False True False
False False False
For True False True
Quartering True False False
large True False False
bodies True False False
of True False True
armed True False False
troops True False False
among True False True
us True False True
: False True False
False False False
For True False True
protecting True False False
them True False True
, False True False
by True False True
a True False True
mock True False False
Trial True False False
, False True False
from True False True
punishment True False False
for True False True
any True False True
Murders True False False
which True False True
they True False True
should True False True
commit True False False
on True False True
the True False True
Inhabitants True False False
of True False True
these True False True
States True False False
: False True False
False False False
For True False True
cutting True False False
off True False True
our True False True
Trade True False False
with True False True
all True False True
parts True False False
of True False True
the True False True
world True False False
: False True False
False False False
For True False True
imposing True False False
Taxes True False False
on True False True
us True False True
without True False True
our True False True
Consent True False False
: False True False
False False False
For True False True
depriving True False False
us True False True
in True False True
many True False True
cases True False False
, False True False
of True False True
the True False True
benefits True False False
of True False True
Trial True False False
by True False True
Jury True False False
: False True False
False False False
For True False True
transporting True False False
us True False True
beyond True False True
Seas True False False
to True False True
be True False True
tried True False False
for True False True
pretended True False False
offences True False False
False False False
For True False True
abolishing True False False
the True False True
free True False False
System True False False
of True False True
English True False False
Laws True False False
in True False True
a True False True
neighbouring True False False
Province True False False
, False True False
establishing True False False
therein True False True
an True False True
Arbitrary True False False
government True False False
, False True False
and True False True
enlarging True False False
its True False True
Boundaries True False False
so True False True
as True False True
to True False True
render True False False
it True False True
at True False True
once True False True
an True False True
example True False False
and True False True
fit True False False
instrument True False False
for True False True
introducing True False False
the True False True
same True False True
absolute True False False
rule True False False
into True False True
these True False True
Colonies True False False
: False True False
False False False
For True False True
taking True False False
away True False False
our True False True
Charters True False False
, False True False
abolishing True False False
our True False True
most True False True
valuable True False False
Laws True False False
, False True False
and True False True
altering True False False
fundamentally True False False
the True False True
Forms True False False
of True False True
our True False True
Governments True False False
: False True False
False False False
For True False True
suspending True False False
our True False True
own True False True
Legislatures True False False
, False True False
and True False True
declaring True False False
themselves True False True
invested True False False
with True False True
power True False False
to True False True
legislate True False False
for True False True
us True False True
in True False True
all True False True
cases True False False
whatsoever True False False
. False True False
False False False
He True False True
has True False True
abdicated True False False
Government True False False
here True False True
, False True False
by True False True
declaring True False False
us True False True
out True False True
of True False True
his True False True
Protection True False False
and True False True
waging True False False
War True False False
against True False True
us True False True
. False True False
False False False
He True False True
has True False True
plundered True False False
our True False True
seas True False False
, False True False
ravaged True False False
our True False True
Coasts True False False
, False True False
burnt True False False
our True False True
towns True False False
, False True False
and True False True
destroyed True False False
the True False True
lives True False False
of True False True
our True False True
people True False False
. False True False
False False False
He True False True
is True False True
at True False True
this True False True
time True False False
transporting True False False
large True False False
Armies True False False
of True False True
foreign True False False
Mercenaries True False False
to True False True
compleat True False False
the True False True
works True False False
of True False True
death True False False
, False True False
desolation True False False
and True False True
tyranny True False False
, False True False
already True False True
begun True False False
with True False True
circumstances True False False
of True False True
Cruelty True False False
& False True False
perfidy True False False
scarcely True False False
paralleled True False False
in True False True
the True False True
most True False True
barbarous True False False
ages True False False
, False True False
and True False True
totally True False False
unworthy True False False
the True False True
Head True False False
of True False True
a True False True
civilized True False False
nation True False False
. False True False
False False False
He True False True
has True False True
constrained True False False
our True False True
fellow True False False
Citizens True False False
taken True False False
Captive True False False
on True False True
the True False True
high True False False
Seas True False False
to True False True
bear True False False
Arms True False False
against True False True
their True False True
Country True False False
, False True False
to True False True
become True False True
the True False True
executioners True False False
of True False True
their True False True
friends True False False
and True False True
Brethren True False False
, False True False
or True False True
to True False True
fall True False False
themselves True False True
by True False True
their True False True
Hands True False False
. False True False
False False False
He True False True
has True False True
excited True False False
domestic True False False
insurrections True False False
amongst True False True
us True False True
, False True False
and True False True
has True False True
endeavoured True False False
to True False True
bring True False False
on True False True
the True False True
inhabitants True False False
of True False True
our True False True
frontiers True False False
, False True False
the True False True
merciless True False False
Indian True False False
Savages True False False
, False True False
whose True False True
known True False False
rule True False False
of True False True
warfare True False False
, False True False
is True False True
an True False True
undistinguished True False False
destruction True False False
of True False True
all True False True
ages True False False
, False True False
sexes True False False
and True False True
conditions True False False
. False True False
False False False
In True False True
every True False True
stage True False False
of True False True
these True False True
Oppressions True False False
We True False True
have True False True
Petitioned True False False
for True False True
Redress True False False
in True False True
the True False True
most True False True
humble True False False
terms True False False
: False True False
Our True False True
repeated True False False
Petitions True False False
have True False True
been True False True
answered True False False
only True False True
by True False True
repeated True False False
injury True False False
. False True False
A True False True
Prince True False False
whose True False True
character True False False
is True False True
thus True False True
marked True False False
by True False True
every True False True
act True False False
which True False True
may True False True
define True False False
a True False True
Tyrant True False False
, False True False
is True False True
unfit True False False
to True False True
be True False True
the True False True
ruler True False False
of True False True
a True False True
free True False False
people True False False
. False True False
False False False
Nor True False True
have True False True
We True False True
been True False True
wanting True False False
in True False True
attentions True False False
to True False True
our True False True
Brittish True False False
brethren True False False
. False True False
We True False True
have True False True
warned True False False
them True False True
from True False True
time True False False
to True False True
time True False False
of True False True
attempts True False False
by True False True
their True False True
legislature True False False
to True False True
extend True False False
an True False True
unwarrantable True False False
jurisdiction True False False
over True False True
us True False True
. False True False
We True False True
have True False True
reminded True False False
them True False True
of True False True
the True False True
circumstances True False False
of True False True
our True False True
emigration True False False
and True False True
settlement True False False
here True False True
. False True False
We True False True
have True False True
appealed True False False
to True False True
their True False True
native True False False
justice True False False
and True False True
magnanimity True False False
, False True False
and True False True
we True False True
have True False True
conjured True False False
them True False True
by True False True
the True False True
ties True False False
of True False True
our True False True
common True False False
kindred True False False
to True False True
disavow True False False
these True False True
usurpations True False False
, False True False
which True False True
, False True False
would True False True
inevitably True False False
interrupt True False False
our True False True
connections True False False
and True False True
correspondence True False False
. False True False
They True False True
too True False True
have True False True
been True False True
deaf True False False
to True False True
the True False True
voice True False False
of True False True
justice True False False
and True False True
of True False True
consanguinity True False False
. False True False
We True False True
must True False True
, False True False
therefore True False True
, False True False
acquiesce True False False
in True False True
the True False True
necessity True False False
, False True False
which True False True
denounces True False False
our True False True
Separation True False False
, False True False
and True False True
hold True False False
them True False True
, False True False
as True False True
we True False True
hold True False False
the True False True
rest True False False
of True False True
mankind True False False
, False True False
Enemies True False False
in True False True
War True False False
, False True False
in True False True
Peace True False False
Friends True False False
. False True False
False False False
We True False True
, False True False
therefore True False True
, False True False
the True False True
Representatives True False False
of True False True
the True False True
united True False False
States True False False
of True False True
America True False False
, False True False
in True False True
General True False False
Congress True False False
, False True False
Assembled True False False
, False True False
appealing True False False
to True False True
the True False True
Supreme True False False
Judge True False False
of True False True
the True False True
world True False False
for True False True
the True False True
rectitude True False False
of True False True
our True False True
intentions True False False
, False True False
do True False True
, False True False
in True False True
the True False True
Name True False True
, False True False
and True False True
by True False True
Authority True False False
of True False True
the True False True
good True False False
People True False False
of True False True
these True False True
Colonies True False False
, False True False
solemnly True False False
publish True False False
and True False True
declare True False False
, False True False
That True False True
these True False True
United True False False
Colonies True False False
are True False True
, False True False
and True False True
of True False True
Right True False False
ought True False False
to True False True
be True False True
Free True False False
and True False True
Independent True False False
States True False False
; False True False
that True False True
they True False True
are True False True
Absolved True False False
from True False True
all True False True
Allegiance True False False
to True False True
the True False True
British True False False
Crown True False False
, False True False
and True False True
that True False True
all True False True
political True False False
connection True False False
between True False True
them True False True
and True False True
the True False True
State True False False
of True False True
Great True False False
Britain True False False
, False True False
is True False True
and True False True
ought True False False
to True False True
be True False True
totally True False False
dissolved True False False
; False True False
and True False True
that True False True
as True False True
Free True False False
and True False True
Independent True False False
States True False False
, False True False
they True False True
have True False True
full True False True
Power True False False
to True False True
levy True False False
War True False False
, False True False
conclude True False False
Peace True False False
, False True False
contract True False False
Alliances True False False
, False True False
establish True False False
Commerce True False False
, False True False
and True False True
to True False True
do True False True
all True False True
other True False True
Acts True False False
and True False True
Things True False False
which True False True
Independent True False False
States True False False
may True False True
of True False True
right True False False
do True False True
. False True False
And True False True
for True False True
the True False True
support True False False
of True False True
this True False True
Declaration True False True
, False True False
with True False True
a True False True
firm True False False
reliance True False False
on True False True
the True False True
protection True False False
of True False True
divine True False False
Providence True False False
, False True False
we True False True
mutually True False False
pledge True False False
to True False True
each True False True
other True False True
our True False True
Lives True False False
, False True False
our True False True
Fortunes True False False
and True False True
our True False True
sacred True False False
Honor True False False
. False True False
False False False
Georgia True False False
False False False
Button True False False
Gwinnett True False False
False False False
Lyman True False False
Hall True False False
False False False
George True False False
Walton True False False
False False False
North True False False
Carolina True False False
False False False
William True False False
Hooper True False False
False False False
Joseph True False False
Hewes True False False
False False False
John True False False
Penn True False False
False False False
South True False False
Carolina True False False
False False False
Edward True False False
Rutledge True False False
False False False
Thomas True False False
Heyward True False False
, False True False
Jr. False False False
False False False
Thomas True False False
Lynch True False False
, False True False
Jr. False False False
False False False
Arthur True False False
Middleton True False False
False False False
Massachusetts True False False
False False False
John True False False
Hancock True False False
False False False
Maryland True False False
False False False
Samuel True False False
Chase True False False
False False False
William True False False
Paca True False False
False False False
Thomas True False False
Stone True False False
False False False
Charles True False False
Carroll True False False
of True False True
Carrollton True False False
False False False
Virginia True False False
False False False
George True False False
Wythe True False False
False False False
Richard True False False
Henry True False False
Lee True False False
False False False
Thomas True False False
Jefferson True False False
False False False
Benjamin True False False
Harrison True False False
False False False
Thomas True False False
Nelson True False False
, False True False
Jr. False False False
False False False
Francis True False False
Lightfoot True False False
Lee True False False
False False False
Carter True False False
Braxton True False False
False False False
Pennsylvania True False False
False False False
Robert True False False
Morris True False False
False False False
Benjamin True False False
Rush True False False
False False False
Benjamin True False False
Franklin True False False
False False False
John True False False
Morton True False False
False False False
George True False False
Clymer True False False
False False False
James True False False
Smith True False False
False False False
George True False False
Taylor True False False
False False False
James True False False
Wilson True False False
False False False
George True False False
Ross True False False
False False False
Delaware True False False
False False False
Caesar True False False
Rodney True False False
False False False
George True False False
Read True False False
False False False
Thomas True False False
McKean True False False
False False False
New True False False
York True False False
False False False
William True False False
Floyd True False False
False False False
Philip True False False
Livingston True False False
False False False
Francis True False False
Lewis True False False
False False False
Lewis True False False
Morris True False False
False False False
New True False False
Jersey True False False
False False False
Richard True False False
Stockton True False False
False False False
John True False False
Witherspoon True False False
False False False
Francis True False False
Hopkinson True False False
False False False
John True False False
Hart True False False
False False False
Abraham True False False
Clark True False False
False False False
New True False False
Hampshire True False False
False False False
Josiah True False False
Bartlett True False False
False False False
William True False False
Whipple True False False
False False False
Massachusetts True False False
False False False
Samuel True False False
Adams True False False
False False False
John True False False
Adams True False False
False False False
Robert True False False
Treat True False False
Paine True False False
False False False
Elbridge True False False
Gerry True False False
False False False
Rhode True False False
Island True False False
False False False
Stephen True False False
Hopkins True False False
False False False
William True False False
Ellery True False False
False False False
Connecticut True False False
False False False
Roger True False False
Sherman True False False
False False False
Samuel True False False
Huntington True False False
False False False
William True False False
Williams True False False
False False False
Oliver True False False
Wolcott True False False
False False False
New True False False
Hampshire True False False
False False False
Matthew True False False
Thornton True False False
False False False
Back True False True
to True False True
Main True False True
Declaration True False True
Page True False True
False False False
Snippet True False True
False False False
About True False True
the True False True
Declaration True False True
False False False
What True False True
Does True False True
it True False True
Say True False True
? False True False
False False False
The True False True
meaning True False False
of True False True
the True False True
document True False False
False False False
How True False True
Did True False True
it True False True
Happen True False False
? False True False
False False False
The True False True
history True False False
of True False True
the True False True
document True False False
False False False
How True False True
Was True False True
it True False True
Made True False True
? False True False
False False False
The True False True
creation True False False
of True False True
the True False True
parchment True False False
document True False False
False False False
Where True False True
can True False True
I True False True
learn True False False
about True False True
the True False True
Declaration True False True
? False True False
False False False
Additional True False False
activities True False False
and True False True
information True False False
False False False
How True False True
can True False True
I True False True
visit True False True
the True False True
Declaration True False True
? False True False
False False False
The True False True
National True False True
Archives True False True
Museum True False True
False False False
Read True False False
a True False True
Transcript True False True
False False False
Declaration True False True
of True False True
Independence True False True
transcript True False True
False False False
Enlarge True False False
False False False
Declaration True False True
of True False True
Independence True False True
False False False
The True False True
condition True False False
of True False True
the True False True
parchment True False False
Declaration True False True
of True False True
Independence True False True
is True False True
a True False True
sign True False False
of True False True
the True False True
place True False False
it True False True
has True False True
held True False False
in True False True
the True False True
hearts True False False
of True False True
many True False True
Americans True False False
. False True False
Years True False False
of True False True
public True False False
display True False False
have True False True
faded True False False
and True False True
worn True False False
this True False True
treasured True False False
document True False False
. False True False
Today True False False
it True False True
is True False True
maintained True False False
under True False True
the True False True
most True False True
exacting True False False
archival True False False
conditions True False False
possible True False False
. False True False
False False False
Snippet True False True
False False False
Shop True False True
the True False True
National True False True
Archives True False True
Store True False True
False False False
This True False True
page True False True
was True False True
last True False True
reviewed True False False
on True False True
January True False False
31 False False False
, False True False
2023 False False False
. False True False
False False False
Contact True False True
us True False True
with True False True
questions True False False
or True False True
comments True False False
. False True False
False False False
Founding True False True
Documents True False True
False False False
Explore True False True
the True False True
Documents True False True
False False False
Declaration True False True
of True False True
Independence True False True
False False False
Constitution True False False
of True False True
the True False True
United True False False
States True False False
False False False
Bill True False False
of True False True
Rights True False False
False False False
Special True False False
Features True False False
False False False
High True False False
Resolution True False False
Downloads True False False
False False False
Sign True False False
the True False True
Declaration True False True
False False False
The True False True
Faulkner True False False
Murals True False False
False False False
Meet True False False
the True False True
Framers True False False
of True False True
the True False True
Constitution True False False
False False False
Other True False True
Resources True False True
False False False
Plan True False False
Your True False True
Visit True False True
to True False True
the True False True
National True False True
Archives True False True
Museum True False True
False False False
View True False False
Other True False True
Milestone True False False
Documents True False True
False False False
Browse True False False
Revolutionary True False False
Era True False False
Classroom True False False
Activities True False False
False False False
Explore True False True
Online True False True
Exhibits True False False
False False False
Search True False True
the True False True
National True False True
Archives True False True
Catalog True False False
False False False
Shop True False True
the True False True
Archives True False True
Store True False True
False False False
I True False True
Want True False False
To True False True
… False True False
False False False
Get True False True
My True False True
Military True False False
Record True False False
False False False
Plan True False False
a True False True
Research True False False
Visit True False True
False False False
Visit True False True
the True False True
Museum True False True
False False False
View True False False
Online True False True
Exhibits True False False
False False False
Apply True False False
for True False True
a True False True
Grant True False False
False False False
Participate True False False
False False False
Attend True False False
an True False True
Event True False False
False False False
Donate True False False
to True False True
the True False True
Archives True False True
False False False
Work True False False
at True False True
the True False True
Archives True False True
False False False
Volunteer True False False
at True False True
the True False True
Archives True False True
False False False
Resources True False True
False False False
America True False False
's False False True
Founding True False True
Docs True False False
False False False
Contact True False True
Us True False True
False False False
En True False False
Español True False False
False False False
FAQs True False False
False False False
Forms True False False
False False False
Shop True False True
Online True False True
False False False
Visit True False True
the True False True
National True False True
Archives True False True
Store True False True
False False False
Buy True False False
Reproductions True False False
and True False True
Microfilm True False False
False False False
Connect True False False
With True False True
Us True False True
False False False
Facebook True False False
False False False
Twitter True False False
False False False
Instagram True False False
False False False
Tumblr True False False
False False False
YouTube True False False
False False False
Blogs True False True
False False False
Flickr True False False
False False False
Contact True False True
Us True False True
· False True True
False False False
Accessibility True False False
· False True True
False False False
Privacy True False False
Policy True False False
· False True True
False False False
Freedom True False False
of True False True
Information True False False
Act True False False
· False True True
False False False
No True False True
FEAR True False False
Act True False False
· False True True
False False False
USA.gov False False False
False False False
The True False True
U.S. False False True
National True False True
Archives True False True
and True False True
Records True False False
Administration True False False
False False False
1 False False False
- False True False
86 False False False
- False True False
NARA True False False
- False True False
NARA True False False
or True False True
1 False False False
- False True False
866 False False False
- False True False
272 False False False
- False True False
6272 False False False
False False False
Top True False True
False False False
Every form of sentiment analysis is different, so creating an analysis based on tokenizing allows for us to focus on the indiividual words but not the actual position of the word in a sentence or function of the word.
Word Frequency is Understanding the difference between common and unique words in a document. This was experimented with earlier, as we collected the top 5 most frequent unique words. However in this section we will spend a little more time to create a few visualizations.
* 8.1: Stop Words Part 2: Updates
* 8.2: Polarity
* 8.3: Running a Dependency Parse
While these words were updated earlier, after running a deeper analysis it became apparent that more of these words needed to be stripped away that could interfear with our ability to work with the main body of the text. Rather than attempting to remove every one of these, I have pulled the ones that appear in the largest number.
# 8.1: Updating Stop Words
words = [
token.text
for token in DeclarIndep_doc
if not token.is_stop and not token.is_punct
]
print(Counter(words).most_common(15))
[('\n', 139), ('\n\n', 23), ('\n\xa0\n', 11), ('\n\n\n\n', 10), ('States', 10), ('\n\n\n', 8), ('Laws', 8), ('America', 7), ('people', 7), ('George', 6), ('William', 6), ('John', 6), ('Thomas', 6), ('\n\n\n\n\n\n', 6), ('Constitution', 5)]
# Removing Language Connected to the National Archives
nlp = spacy.load("en_core_web_sm")
stop_words = nlp.Defaults.stop_words
new_stop_words = ["archives", "shop", ">", "spellingpunctuationreflectsoriginal", "transcription", "print", "notefollowingtexttranscriptionstoneengravingparchmentdocumentdisplayrotundamuseum", "discoverfounders", "askquestionhistoryhub", "signconstitution", "browseteachingrevolutionaryera", "veteransservicerecords", "bookmarkshare", "menuresearchrecords", "meetframersconstitution", "skipcontent", "u.s.", "snippet", "transcription|", "viewmilestone", "exploreexhibits", "searchcatalog", "transcript", "constitutionunitedstates", "specialfeatures", "highresolutiondownloads", "faulknermurals", "billrights", "store", "contact", "museum", "shopstore", "search", "explore", "national", "online", "visit", "resources", "earch", "documents", "independence", "declaration", "·", "page", "main", "home", "menu", "bookmarks", "blogs", "educator", "resources", "home", "founding"]
stop_words.update(new_stop_words)
nlp.Defaults.stop_words = stop_words
DeclarIndep_doc = nlp(DeclarIndep_text)
words = [
token.text.lower()
for token in DeclarIndep_doc
if not token.is_stop and not token.is_punct and not token.is_space
]
most_common_words = Counter(words).most_common(5)
print("Five most frequent words:")
for word, frequency in most_common_words:
print(f"{word}: {frequency}")
Five most frequent words: states: 10 people: 10 laws: 9 new: 8 america: 7
# 8.2: Polarity
import spacy
from spacytextblob.spacytextblob import SpacyTextBlob
nlp = spacy.load('en_core_web_sm')
nlp.add_pipe('spacytextblob')
doc = nlp(DeclarIndep_text)
# Getting Sentement
print('Polarity Score: ', doc._.blob.polarity)
Polarity Score: 0.13496858241261228
For this section there are two visualizations to examine. The first being a dependancy parse and the second is acutlally the sentiment analysis. The Dependency pars allows us to analysize the gramatical structure of the document based on the relationship between words. As the Declaration of Independence is an older document the relationship between some of the words in this document may differ from how they are viewed in modern American English. So for this instance it will allow us to identify key subjects that allow us to better understand the capabilities of spaCy.
Please note that the dependancy rendering is a little rough as there are still some words present that need to be removed as they are modern english.
# The Dependency Parse
import spacy
from spacy import displacy
import json
nlp = spacy.load("en_core_web_sm")
displacy.render(DeclarIndep_doc, style="dep")
# 8.3: Graph analysis for Unque Words analysis
import spacy
from collections import Counter
import string
from spacy.lang.en.stop_words import STOP_WORDS
import pickle
from bs4 import BeautifulSoup
def preprocess_txt(text):
# Load spacy
nlp = spacy.load('en_core_web_lg')
#process the article
doc = nlp(DeclarIndep_text)
interesting_tokens = [token.text.lower() for token in doc if not token.is_stop and not token.is_punct and not token.is_space]
return interesting_tokens
def score_sentence_by_token(sentence, interesting_token):
words = sentence.lower().split()
num_words = len(words)
num_interesting = len(interesting_tokens)
return num_interesting / num_words
# Test the scoring functions using first sentence
nlp = spacy.load('en_core_web_lg')
doc = nlp(DeclarIndep_text)
first_sentence = DeclarIndep_text.split(".")[0]
print("Score of the first sentence using tokens:", score_sentence_by_token(first_sentence, interesting_tokens))
Score of the first sentence using tokens: 0.4
# Applying to the whole document through the form of sentences:
import matplotlib.pyplot as plt
sentences = [sent.text for sent in doc.sents]
# Adding interesting tokens and scores
def preprocess_txt(text):
# Load spacy
nlp = spacy.load('en_core_web_lg')
#process the article
doc = nlp(DeclarIndep_text)
stop_words = nlp.Defaults.stop_words
stop_words |= {"archives", "national", "documents", "independence", "·"}
interesting_tokens = [token.text.lower() for token in doc if token.text.lower() not in nlp.Defaults.stop_words and token.text.lower() not in string.punctuation and not token.is_space]
return interesting_tokens
interesting_tokens = [token.text.lower() for token in doc if token.text.lower() not in nlp.Defaults.stop_words and token.text.lower() not in string.punctuation and not token.is_space]
scores_by_tokens = [score_sentence_by_token(sentence, interesting_tokens) for sentence in sentences]
plt.hist(scores_by_tokens, bins=20, color='tan', edgecolor="navy")
plt.title("Distribution of Sentence Scores by Tokens")
plt.xlabel("Score")
plt.ylabel("Frequency")
plt.show
<function matplotlib.pyplot.show(close=None, block=None)>
Lemmatization is the process of reducing inflected forms of a word. This allows for us to investigate the root word which is known as a lemma. While Tokenizing examines the words as a single piece, lemmatization is the process in which we examine the roots. In theory this form of analysis will be more benificial as the evelution of modern American English is based on older lemma, the only difference being the role in which these words play. This Analysis will be slightly longer as Postcolonial Expension of English into the Modern Era evolved greatly when compared to the root of Colonial English.
Parts:
* 9.1: Lemmatization Process
* 9.2: Word Frequency Using Lemmas
* 9.3: Speech Tagging Nouns, verbs, adjectives and interjection
* 9.4: Named Entity Analysis
* 9.5: Dependency Parsing
* 9.6: Sentiment & Polarity Analysis
# 9.1: Lemmatizing the Text
import spacy
nlp = spacy.load("en_core_web_sm")
def preprocess_txt(text):
# Load spacy
nlp = spacy.load('en_core_web_lg')
#process the article
doc = nlp(DeclarIndep_text)
interesting_tokens = [token.text.lower() for token in doc if not token.is_stop and not token.is_punct and not token.is_space]
#tokens = [token.text.lower() for token in doc if token.text.lower() not in stop_words and token.text.lower() not in string.punctuation and not token.is_space]
return interesting_tokens
# 9.2: Word Frequency Using Lemmas
try:
with open("DeclarIndep.pkl", "rb") as file:
DeclarIndep_html = pickle.load(file)
soup = BeautifulSoup(DeclarIndep_html, 'html.parser')
DeclarIndep_text = soup.get_text()
lemmas = preprocess_txt(DeclarIndep_text)
lemma_frequencies = Counter(lemmas)
most_common_lemmas = lemma_frequencies.most_common(5)
print("Top 5 most frequent lemmas:")
for lemma, frequency in most_common_lemmas:
print(f"'{lemma}': {frequency}")
except FileNotFoundError:
print("File 'DeclarIndep_html.pkl' not found.")
except Exception as e:
print(f"An error occured: {e}")
Top 5 most frequent lemmas: 'states': 10 'people': 10 'laws': 9 'new': 8 'america': 7
# 9.3: Speech Tagging: NOUNS:
nlp = spacy.load("en_core_web_sm")
DeclarIndep_doc = nlp(DeclarIndep_text)
nlp(DeclarIndep_text)
for token in DeclarIndep_doc:
if not token.is_stop and not token.is_punct and not token.is_space:
print(
f"""
Token: {str(token)}
===
Tag: {str(token.tag_):10} POS: {token.pos_}
Explanation: {spacy.explain(token.tag_)}"""
)
Token: |
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Skip
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: content
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Bookmark
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Share
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: menuResearch
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Records
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Veterans
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: Service
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Records
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: America
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: America
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: America
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: America
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Constitution
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: United
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: States
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Bill
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Rights
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Special
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Features
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: High
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Resolution
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Downloads
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: Sign
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Constitution
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Faulkner
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Murals
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: Meet
===
Tag: VBP POS: VERB
Explanation: verb, non-3rd person singular present
Token: Framers
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: Constitution
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: View
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Milestone
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Browse
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Teaching
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Revolutionary
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Era
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Civics
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: Exhibits
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Catalog
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Discover
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Founders
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Ask
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: Question
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: History
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Hub
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Note
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: following
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: text
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Stone
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Engraving
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: parchment
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: document
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: display
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Rotunda
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: spelling
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: punctuation
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: reflects
===
Tag: VBZ POS: VERB
Explanation: verb, 3rd person singular present
Token: original
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: Congress
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: July
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: 4
===
Tag: CD POS: NUM
Explanation: cardinal number
Token: 1776
===
Tag: CD POS: NUM
Explanation: cardinal number
Token: unanimous
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: thirteen
===
Tag: CD POS: NUM
Explanation: cardinal number
Token: united
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: States
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: America
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Course
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: human
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: events
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: necessary
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: people
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: dissolve
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: political
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: bands
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: connected
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: assume
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: powers
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: earth
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: separate
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: equal
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: station
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Laws
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: Nature
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Nature
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: God
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: entitle
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: decent
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: respect
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: opinions
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: mankind
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: requires
===
Tag: VBZ POS: VERB
Explanation: verb, 3rd person singular present
Token: declare
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: causes
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: impel
===
Tag: VBP POS: VERB
Explanation: verb, non-3rd person singular present
Token: separation
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: hold
===
Tag: VBP POS: VERB
Explanation: verb, non-3rd person singular present
Token: truths
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: self
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: evident
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: men
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: created
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: equal
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: endowed
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: Creator
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: certain
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: unalienable
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: Rights
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: Life
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Liberty
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: pursuit
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Happiness.--That
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: secure
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: rights
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: Governments
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: instituted
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: Men
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: deriving
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: powers
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: consent
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: governed
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: --That
===
Tag: : POS: PUNCT
Explanation: punctuation mark, colon or ellipsis
Token: Form
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Government
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: destructive
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: ends
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: Right
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: People
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: alter
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: abolish
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: institute
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: new
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: Government
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: laying
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: foundation
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: principles
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: organizing
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: powers
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: form
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: shall
===
Tag: MD POS: AUX
Explanation: verb, modal auxiliary
Token: likely
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: effect
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: Safety
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Happiness
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Prudence
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: dictate
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: Governments
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: long
===
Tag: RB POS: ADV
Explanation: adverb
Token: established
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: changed
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: light
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: transient
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: causes
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: accordingly
===
Tag: RB POS: ADV
Explanation: adverb
Token: experience
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: hath
===
Tag: VBP POS: VERB
Explanation: verb, non-3rd person singular present
Token: shewn
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: mankind
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: disposed
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: suffer
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: evils
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: sufferable
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: right
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: abolishing
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: forms
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: accustomed
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: long
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: train
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: abuses
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: usurpations
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: pursuing
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: invariably
===
Tag: RB POS: ADV
Explanation: adverb
Token: Object
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: evinces
===
Tag: VBZ POS: VERB
Explanation: verb, 3rd person singular present
Token: design
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: reduce
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: absolute
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: Despotism
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: right
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: duty
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: throw
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: Government
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: provide
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: new
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: Guards
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: future
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: security.--Such
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: patient
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: sufferance
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Colonies
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: necessity
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: constrains
===
Tag: VBZ POS: VERB
Explanation: verb, 3rd person singular present
Token: alter
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: Systems
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: Government
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: history
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: present
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: King
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Great
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Britain
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: history
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: repeated
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: injuries
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: usurpations
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: having
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: direct
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: object
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: establishment
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: absolute
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: Tyranny
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: States
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: prove
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: let
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: Facts
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: submitted
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: candid
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: world
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: refused
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: Assent
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Laws
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: wholesome
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: necessary
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: public
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: good
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: forbidden
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: Governors
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: pass
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: Laws
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: immediate
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: pressing
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: importance
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: suspended
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: operation
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: till
===
Tag: IN POS: SCONJ
Explanation: conjunction, subordinating or preposition
Token: Assent
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: obtained
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: suspended
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: utterly
===
Tag: RB POS: ADV
Explanation: adverb
Token: neglected
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: attend
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: refused
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: pass
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: Laws
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: accommodation
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: large
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: districts
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: people
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: people
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: relinquish
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: right
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Representation
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Legislature
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: right
===
Tag: RB POS: ADV
Explanation: adverb
Token: inestimable
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: formidable
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: tyrants
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: called
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: legislative
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: bodies
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: places
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: unusual
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: uncomfortable
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: distant
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: depository
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: public
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: Records
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: sole
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: purpose
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: fatiguing
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: compliance
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: measures
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: dissolved
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: Representative
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Houses
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: repeatedly
===
Tag: RB POS: ADV
Explanation: adverb
Token: opposing
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: manly
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: firmness
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: invasions
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: rights
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: people
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: refused
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: long
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: time
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: dissolutions
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: cause
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: elected
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: Legislative
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: powers
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: incapable
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: Annihilation
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: returned
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: People
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: large
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: exercise
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: State
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: remaining
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: mean
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: time
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: exposed
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: dangers
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: invasion
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: convulsions
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: endeavoured
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: prevent
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: population
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: States
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: purpose
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: obstructing
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: Laws
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: Naturalization
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Foreigners
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: refusing
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: pass
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: encourage
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: migrations
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: hither
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: raising
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: conditions
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: new
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: Appropriations
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: Lands
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: obstructed
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: Administration
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Justice
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: refusing
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: Assent
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Laws
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: establishing
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: Judiciary
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: powers
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: Judges
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: dependent
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: tenure
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: offices
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: payment
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: salaries
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: erected
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: multitude
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: New
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Offices
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: sent
===
Tag: VBD POS: VERB
Explanation: verb, past tense
Token: hither
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: swarms
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: Officers
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: harrass
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: people
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: eat
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: substance
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: kept
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: times
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: peace
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Standing
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Armies
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: Consent
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: legislatures
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: affected
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: render
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: Military
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: independent
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: superior
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: Civil
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: power
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: combined
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: subject
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: jurisdiction
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: foreign
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: constitution
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: unacknowledged
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: laws
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: giving
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: Assent
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Acts
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: pretended
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: Legislation
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Quartering
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: large
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: bodies
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: armed
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: troops
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: protecting
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: mock
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: Trial
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: punishment
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Murders
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: commit
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: Inhabitants
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: States
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: cutting
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: Trade
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: parts
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: world
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: imposing
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: Taxes
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: Consent
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: depriving
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: cases
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: benefits
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: Trial
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Jury
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: transporting
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: Seas
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: tried
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: pretended
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: offences
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: abolishing
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: free
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: System
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: English
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Laws
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: neighbouring
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: Province
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: establishing
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: Arbitrary
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: government
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: enlarging
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: Boundaries
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: render
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: example
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: fit
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: instrument
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: introducing
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: absolute
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: rule
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Colonies
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: taking
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: away
===
Tag: RB POS: ADV
Explanation: adverb
Token: Charters
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: abolishing
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: valuable
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: Laws
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: altering
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: fundamentally
===
Tag: RB POS: ADV
Explanation: adverb
Token: Forms
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: Governments
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: suspending
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: Legislatures
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: declaring
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: invested
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: power
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: legislate
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: cases
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: whatsoever
===
Tag: RB POS: ADV
Explanation: adverb
Token: abdicated
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: Government
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: declaring
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: Protection
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: waging
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: War
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: plundered
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: seas
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: ravaged
===
Tag: VBD POS: VERB
Explanation: verb, past tense
Token: Coasts
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: burnt
===
Tag: VBD POS: VERB
Explanation: verb, past tense
Token: towns
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: destroyed
===
Tag: VBD POS: VERB
Explanation: verb, past tense
Token: lives
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: people
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: time
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: transporting
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: large
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: Armies
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: foreign
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: Mercenaries
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: compleat
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: works
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: death
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: desolation
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: tyranny
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: begun
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: circumstances
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: Cruelty
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: perfidy
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: scarcely
===
Tag: RB POS: ADV
Explanation: adverb
Token: paralleled
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: barbarous
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: ages
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: totally
===
Tag: RB POS: ADV
Explanation: adverb
Token: unworthy
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: Head
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: civilized
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: nation
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: constrained
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: fellow
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: Citizens
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: taken
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: Captive
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: high
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: Seas
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: bear
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: Arms
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: Country
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: executioners
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: friends
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: Brethren
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: fall
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: Hands
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: excited
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: domestic
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: insurrections
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: endeavoured
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: bring
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: inhabitants
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: frontiers
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: merciless
===
Tag: JJS POS: ADJ
Explanation: adjective, superlative
Token: Indian
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Savages
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: known
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: rule
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: warfare
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: undistinguished
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: destruction
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: ages
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: sexes
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: conditions
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: stage
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Oppressions
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: Petitioned
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: Redress
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: humble
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: terms
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: repeated
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: Petitions
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: answered
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: repeated
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: injury
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Prince
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: character
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: marked
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: act
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: define
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: Tyrant
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: unfit
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: ruler
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: free
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: people
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: wanting
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: attentions
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: Brittish
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: brethren
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: warned
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: time
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: time
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: attempts
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: legislature
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: extend
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: unwarrantable
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: jurisdiction
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: reminded
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: circumstances
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: emigration
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: settlement
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: appealed
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: native
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: justice
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: magnanimity
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: conjured
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: ties
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: common
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: kindred
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: disavow
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: usurpations
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: inevitably
===
Tag: RB POS: ADV
Explanation: adverb
Token: interrupt
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: connections
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: correspondence
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: deaf
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: voice
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: justice
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: consanguinity
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: acquiesce
===
Tag: RB POS: ADV
Explanation: adverb
Token: necessity
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: denounces
===
Tag: VBZ POS: VERB
Explanation: verb, 3rd person singular present
Token: Separation
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: hold
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: hold
===
Tag: VBP POS: VERB
Explanation: verb, non-3rd person singular present
Token: rest
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: mankind
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Enemies
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: War
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Peace
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Friends
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: Representatives
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: united
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: States
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: America
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: General
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Congress
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Assembled
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: appealing
===
Tag: VBG POS: VERB
Explanation: verb, gerund or present participle
Token: Supreme
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Judge
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: world
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: rectitude
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: intentions
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: Authority
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: good
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: People
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: Colonies
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: solemnly
===
Tag: RB POS: ADV
Explanation: adverb
Token: publish
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: declare
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: United
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Colonies
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: Right
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: ought
===
Tag: MD POS: AUX
Explanation: verb, modal auxiliary
Token: Free
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: Independent
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: States
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: Absolved
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: Allegiance
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: British
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Crown
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: political
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: connection
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: State
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Great
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Britain
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: ought
===
Tag: MD POS: AUX
Explanation: verb, modal auxiliary
Token: totally
===
Tag: RB POS: ADV
Explanation: adverb
Token: dissolved
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: Free
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Independent
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: States
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: Power
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: levy
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: War
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: conclude
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: Peace
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: contract
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Alliances
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: establish
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: Commerce
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Acts
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: Things
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: Independent
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: States
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: right
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: support
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: firm
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: reliance
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: protection
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: divine
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: Providence
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: mutually
===
Tag: RB POS: ADV
Explanation: adverb
Token: pledge
===
Tag: VBP POS: VERB
Explanation: verb, non-3rd person singular present
Token: Lives
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: Fortunes
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: sacred
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: Honor
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Georgia
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Button
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Gwinnett
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Lyman
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Hall
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: George
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Walton
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: North
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Carolina
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: William
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Hooper
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Joseph
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Hewes
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: John
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Penn
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: South
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Carolina
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Edward
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Rutledge
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Thomas
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Heyward
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Jr.
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Thomas
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Lynch
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Jr.
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Arthur
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Middleton
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Massachusetts
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: John
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Hancock
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Maryland
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Samuel
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Chase
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: William
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Paca
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Thomas
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Stone
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Charles
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Carroll
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Carrollton
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Virginia
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: George
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Wythe
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Richard
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Henry
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Lee
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Thomas
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Jefferson
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Benjamin
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Harrison
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Thomas
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Nelson
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Jr.
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Francis
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Lightfoot
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Lee
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Carter
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Braxton
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Pennsylvania
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Robert
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Morris
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Benjamin
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Rush
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Benjamin
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Franklin
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: John
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Morton
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: George
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Clymer
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: James
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Smith
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: George
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Taylor
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: James
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Wilson
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: George
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Ross
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Delaware
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Caesar
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Rodney
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: George
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Read
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Thomas
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: McKean
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: New
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: York
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: William
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Floyd
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Philip
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Livingston
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Francis
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Lewis
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Lewis
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Morris
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: New
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Jersey
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Richard
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Stockton
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: John
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Witherspoon
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Francis
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Hopkinson
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: John
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Hart
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Abraham
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Clark
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: New
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Hampshire
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Josiah
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Bartlett
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: William
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Whipple
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Massachusetts
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Samuel
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Adams
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: John
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Adams
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Robert
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Treat
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Paine
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Elbridge
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Gerry
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Rhode
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Island
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Stephen
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Hopkins
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: William
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Ellery
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Connecticut
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Roger
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Sherman
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Samuel
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Huntington
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: William
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Williams
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Oliver
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Wolcott
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: New
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Hampshire
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Matthew
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Thornton
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: meaning
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: document
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Happen
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: history
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: document
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: creation
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: parchment
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: document
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: learn
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: Additional
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: activities
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: information
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Read
===
Tag: VBD POS: VERB
Explanation: verb, past tense
Token: Enlarge
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: condition
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: parchment
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: sign
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: place
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: held
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: hearts
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: Americans
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: Years
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: public
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: display
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: faded
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: worn
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: treasured
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: document
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Today
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: maintained
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: exacting
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: archival
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: conditions
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: possible
===
Tag: JJ POS: ADJ
Explanation: adjective (English), other noun-modifier (Chinese)
Token: reviewed
===
Tag: VBN POS: VERB
Explanation: verb, past participle
Token: January
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: 31
===
Tag: CD POS: NUM
Explanation: cardinal number
Token: 2023
===
Tag: CD POS: NUM
Explanation: cardinal number
Token: questions
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: comments
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: Constitution
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: United
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: States
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Bill
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Rights
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Special
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Features
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: High
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Resolution
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Downloads
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: Sign
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: Faulkner
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Murals
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: Meet
===
Tag: VBP POS: VERB
Explanation: verb, non-3rd person singular present
Token: Framers
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: Constitution
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Plan
===
Tag: VBP POS: VERB
Explanation: verb, non-3rd person singular present
Token: View
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Milestone
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Browse
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Revolutionary
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Era
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Classroom
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Activities
===
Tag: NNS POS: NOUN
Explanation: noun, plural
Token: Exhibits
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Catalog
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Want
===
Tag: VBP POS: VERB
Explanation: verb, non-3rd person singular present
Token: Military
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Record
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Plan
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Research
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: View
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Exhibits
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Apply
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: Grant
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Participate
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Attend
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: Event
===
Tag: NN POS: NOUN
Explanation: noun, singular or mass
Token: Donate
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: Work
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Volunteer
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: America
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Docs
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: En
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Español
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: FAQs
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Forms
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Buy
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Reproductions
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: Microfilm
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Connect
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Facebook
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Twitter
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Instagram
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Tumblr
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: YouTube
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Flickr
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Accessibility
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Privacy
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Policy
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Freedom
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Information
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Act
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: FEAR
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: Act
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: USA.gov
===
Tag: VB POS: VERB
Explanation: verb, base form
Token: Records
===
Tag: NNPS POS: PROPN
Explanation: noun, proper plural
Token: Administration
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: 1
===
Tag: CD POS: NUM
Explanation: cardinal number
Token: 86
===
Tag: CD POS: NUM
Explanation: cardinal number
Token: NARA
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: NARA
===
Tag: NNP POS: PROPN
Explanation: noun, proper singular
Token: 1
===
Tag: CD POS: NUM
Explanation: cardinal number
Token: 866
===
Tag: CD POS: NUM
Explanation: cardinal number
Token: 272
===
Tag: CD POS: NUM
Explanation: cardinal number
Token: 6272
===
Tag: CD POS: NUM
Explanation: cardinal number
# 9.4 Named Entity Analysis:
nlp = spacy.load("en_core_web_sm")
def preprocess_txt(text):
# Load spacy
nlp = spacy.load('en_core_web_lg')
#process the article
doc = nlp(DeclarIndep_text)
interesting_tokens = [token.text.lower() for token in doc if not token.is_stop and not token.is_punct and not token.is_space]
return interesting_tokens
for ent in DeclarIndep_doc.ents:
print(
f"""
{ent.text = }
{ent.start_char = }
{ent.end_char = }
{ent.label_ = }
spacy.explain('{ent.label_}') = {spacy.explain(ent.label_)}"""
)
ent.text = 'National Archives'
ent.start_char = 73
ent.end_char = 90
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'The U.S. National Archives Home'
ent.start_char = 150
ent.end_char = 181
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Bookmark/Share\n '
ent.start_char = 207
ent.end_char = 223
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = "Veterans' Service Records\nEducator Resources\nVisit"
ent.start_char = 305
ent.end_char = 355
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'America'
ent.start_char = 359
ent.end_char = 366
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'America'
ent.start_char = 517
ent.end_char = 524
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'the United States'
ent.start_char = 625
ent.end_char = 642
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'the National Archives Museum'
ent.start_char = 822
ent.end_char = 850
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'US'
ent.start_char = 952
ent.end_char = 954
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'Search the National Archives Catalog\n'
ent.start_char = 979
ent.end_char = 1016
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'the Founders Online\nShop the Archives Store\nAsk a Question on History Hub\n\n\n \n\n\n\n\n\n\n\nDeclaration of Independence: A Transcription\n\nPrint'
ent.start_char = 1025
ent.end_char = 1161
ent.label_ = 'PRODUCT'
spacy.explain('PRODUCT') = Objects, vehicles, foods, etc. (not services)
ent.text = 'Rotunda'
ent.start_char = 1320
ent.end_char = 1327
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'the National Archives Museum'
ent.start_char = 1331
ent.end_char = 1359
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Congress'
ent.start_char = 1419
ent.end_char = 1427
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'July 4, 1776'
ent.start_char = 1429
ent.end_char = 1441
ent.label_ = 'DATE'
spacy.explain('DATE') = Absolute or relative dates or periods
ent.text = 'The unanimous Declaration of the thirteen united States of America'
ent.start_char = 1442
ent.end_char = 1508
ent.label_ = 'WORK_OF_ART'
spacy.explain('WORK_OF_ART') = Titles of books, songs, etc.
ent.text = 'one'
ent.start_char = 1571
ent.end_char = 1574
ent.label_ = 'CARDINAL'
spacy.explain('CARDINAL') = Numerals that do not fall under another type
ent.text = "the Laws of Nature and of Nature's God"
ent.start_char = 1739
ent.end_char = 1777
ent.label_ = 'WORK_OF_ART'
spacy.explain('WORK_OF_ART') = Titles of books, songs, etc.
ent.text = 'Life, Liberty'
ent.start_char = 2083
ent.end_char = 2096
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Form of Government'
ent.start_char = 2276
ent.end_char = 2294
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Guards'
ent.start_char = 3113
ent.end_char = 3119
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Colonies'
ent.start_char = 3194
ent.end_char = 3202
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'Systems of Government'
ent.start_char = 3278
ent.end_char = 3299
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Great Britain'
ent.start_char = 3336
ent.end_char = 3349
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'Facts'
ent.start_char = 3508
ent.end_char = 3513
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Assent to Laws'
ent.start_char = 3566
ent.end_char = 3580
ent.label_ = 'WORK_OF_ART'
spacy.explain('WORK_OF_ART') = Titles of books, songs, etc.
ent.text = 'Governors'
ent.start_char = 3657
ent.end_char = 3666
ent.label_ = 'NORP'
spacy.explain('NORP') = Nationalities or religious or political groups
ent.text = 'Laws of immediate and pressing importance'
ent.start_char = 3675
ent.end_char = 3716
ent.label_ = 'WORK_OF_ART'
spacy.explain('WORK_OF_ART') = Titles of books, songs, etc.
ent.text = 'Laws for the accommodation of'
ent.start_char = 3886
ent.end_char = 3915
ent.label_ = 'WORK_OF_ART'
spacy.explain('WORK_OF_ART') = Titles of books, songs, etc.
ent.text = 'Legislature'
ent.start_char = 4015
ent.end_char = 4026
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Legislative'
ent.start_char = 4522
ent.end_char = 4533
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'State'
ent.start_char = 4630
ent.end_char = 4635
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'States'
ent.start_char = 4794
ent.end_char = 4800
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'the Laws for Naturalization of Foreigners'
ent.start_char = 4831
ent.end_char = 4872
ent.label_ = 'LAW'
spacy.explain('LAW') = Named documents made into laws.
ent.text = 'the Administration of Justice'
ent.start_char = 5013
ent.end_char = 5042
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Assent to Laws'
ent.start_char = 5060
ent.end_char = 5074
ent.label_ = 'WORK_OF_ART'
spacy.explain('WORK_OF_ART') = Titles of books, songs, etc.
ent.text = 'Judiciary'
ent.start_char = 5092
ent.end_char = 5101
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'New Offices'
ent.start_char = 5267
ent.end_char = 5278
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Standing Armies'
ent.start_char = 5408
ent.end_char = 5423
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Civil'
ent.start_char = 5539
ent.end_char = 5544
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Quartering'
ent.start_char = 5735
ent.end_char = 5745
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'Trial'
ent.start_char = 5816
ent.end_char = 5821
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Murders'
ent.start_char = 5847
ent.end_char = 5854
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Taxes'
ent.start_char = 5984
ent.end_char = 5989
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Province'
ent.start_char = 6215
ent.end_char = 6223
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'Arbitrary'
ent.start_char = 6249
ent.end_char = 6258
ent.label_ = 'DATE'
spacy.explain('DATE') = Absolute or relative dates or periods
ent.text = 'Colonies'
ent.start_char = 6407
ent.end_char = 6415
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'Charters'
ent.start_char = 6437
ent.end_char = 6445
ent.label_ = 'PRODUCT'
spacy.explain('PRODUCT') = Objects, vehicles, foods, etc. (not services)
ent.text = 'Laws'
ent.start_char = 6476
ent.end_char = 6480
ent.label_ = 'WORK_OF_ART'
spacy.explain('WORK_OF_ART') = Titles of books, songs, etc.
ent.text = 'Coasts'
ent.start_char = 6804
ent.end_char = 6810
ent.label_ = 'PRODUCT'
spacy.explain('PRODUCT') = Objects, vehicles, foods, etc. (not services)
ent.text = 'Mercenaries'
ent.start_char = 6924
ent.end_char = 6935
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Cruelty &'
ent.start_char = 7028
ent.end_char = 7037
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Citizens taken Captive'
ent.start_char = 7177
ent.end_char = 7199
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Country'
ent.start_char = 7244
ent.end_char = 7251
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Brethren'
ent.start_char = 7301
ent.end_char = 7309
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Indian'
ent.start_char = 7479
ent.end_char = 7485
ent.label_ = 'NORP'
spacy.explain('NORP') = Nationalities or religious or political groups
ent.text = 'Oppressions We have Petitioned for Redress'
ent.start_char = 7618
ent.end_char = 7660
ent.label_ = 'LAW'
spacy.explain('LAW') = Named documents made into laws.
ent.text = 'Tyrant'
ent.start_char = 7826
ent.end_char = 7832
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Brittish'
ent.start_char = 7923
ent.end_char = 7931
ent.label_ = 'NORP'
spacy.explain('NORP') = Nationalities or religious or political groups
ent.text = 'Separation'
ent.start_char = 8500
ent.end_char = 8510
ent.label_ = 'PRODUCT'
spacy.explain('PRODUCT') = Objects, vehicles, foods, etc. (not services)
ent.text = 'Peace Friends'
ent.start_char = 8578
ent.end_char = 8591
ent.label_ = 'FAC'
spacy.explain('FAC') = Buildings, airports, highways, bridges, etc.
ent.text = 'the Representatives of the united States of America'
ent.start_char = 8608
ent.end_char = 8659
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'General Congress, Assembled'
ent.start_char = 8664
ent.end_char = 8691
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Authority of the good People of these Colonies'
ent.start_char = 8798
ent.end_char = 8844
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'these United Colonies'
ent.start_char = 8881
ent.end_char = 8902
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Allegiance'
ent.start_char = 8994
ent.end_char = 9004
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Crown'
ent.start_char = 9020
ent.end_char = 9025
ent.label_ = 'PRODUCT'
spacy.explain('PRODUCT') = Objects, vehicles, foods, etc. (not services)
ent.text = 'the State of Great Britain'
ent.start_char = 9078
ent.end_char = 9104
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'Peace'
ent.start_char = 9228
ent.end_char = 9233
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Commerce'
ent.start_char = 9265
ent.end_char = 9273
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Acts and Things which Independent States'
ent.start_char = 9295
ent.end_char = 9335
ent.label_ = 'WORK_OF_ART'
spacy.explain('WORK_OF_ART') = Titles of books, songs, etc.
ent.text = 'Fortunes'
ent.start_char = 9503
ent.end_char = 9511
ent.label_ = 'LOC'
spacy.explain('LOC') = Non-GPE locations, mountain ranges, bodies of water
ent.text = 'Georgia'
ent.start_char = 9537
ent.end_char = 9544
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'Button'
ent.start_char = 9545
ent.end_char = 9551
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'Gwinnett'
ent.start_char = 9552
ent.end_char = 9560
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Lyman Hall'
ent.start_char = 9561
ent.end_char = 9571
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'George Walton'
ent.start_char = 9572
ent.end_char = 9585
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'North Carolina'
ent.start_char = 9588
ent.end_char = 9602
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'William Hooper'
ent.start_char = 9603
ent.end_char = 9617
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Joseph Hewes'
ent.start_char = 9618
ent.end_char = 9630
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'John Penn'
ent.start_char = 9631
ent.end_char = 9640
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'South Carolina'
ent.start_char = 9643
ent.end_char = 9657
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'Edward Rutledge'
ent.start_char = 9658
ent.end_char = 9673
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Thomas Heyward'
ent.start_char = 9674
ent.end_char = 9688
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Jr.'
ent.start_char = 9690
ent.end_char = 9693
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Thomas Lynch'
ent.start_char = 9694
ent.end_char = 9706
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Jr.'
ent.start_char = 9708
ent.end_char = 9711
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Arthur Middleton'
ent.start_char = 9712
ent.end_char = 9728
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Massachusetts'
ent.start_char = 9731
ent.end_char = 9744
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'John Hancock'
ent.start_char = 9745
ent.end_char = 9757
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Maryland'
ent.start_char = 9760
ent.end_char = 9768
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'Samuel Chase'
ent.start_char = 9769
ent.end_char = 9781
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'William Paca\nThomas Stone'
ent.start_char = 9782
ent.end_char = 9807
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Charles Carroll'
ent.start_char = 9808
ent.end_char = 9823
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Carrollton'
ent.start_char = 9827
ent.end_char = 9837
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'Virginia'
ent.start_char = 9840
ent.end_char = 9848
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'George Wythe\nRichard Henry Lee'
ent.start_char = 9849
ent.end_char = 9879
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Thomas Jefferson\nBenjamin Harrison'
ent.start_char = 9880
ent.end_char = 9914
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Thomas Nelson'
ent.start_char = 9915
ent.end_char = 9928
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Francis Lightfoot Lee'
ent.start_char = 9934
ent.end_char = 9955
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Carter Braxton'
ent.start_char = 9956
ent.end_char = 9970
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Pennsylvania'
ent.start_char = 9973
ent.end_char = 9985
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'Robert Morris'
ent.start_char = 9986
ent.end_char = 9999
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Benjamin Rush\nBenjamin Franklin'
ent.start_char = 10000
ent.end_char = 10031
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'John Morton'
ent.start_char = 10032
ent.end_char = 10043
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'George Clymer'
ent.start_char = 10044
ent.end_char = 10057
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'James Smith'
ent.start_char = 10058
ent.end_char = 10069
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'George Taylor'
ent.start_char = 10070
ent.end_char = 10083
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'James Wilson'
ent.start_char = 10084
ent.end_char = 10096
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'George Ross'
ent.start_char = 10097
ent.end_char = 10108
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Delaware'
ent.start_char = 10111
ent.end_char = 10119
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'George Read\nThomas McKean'
ent.start_char = 10134
ent.end_char = 10159
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'New York'
ent.start_char = 10162
ent.end_char = 10170
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'William Floyd'
ent.start_char = 10171
ent.end_char = 10184
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Philip Livingston'
ent.start_char = 10185
ent.end_char = 10202
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Francis Lewis'
ent.start_char = 10203
ent.end_char = 10216
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'New Jersey'
ent.start_char = 10232
ent.end_char = 10242
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'Richard Stockton'
ent.start_char = 10243
ent.end_char = 10259
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'John Witherspoon'
ent.start_char = 10260
ent.end_char = 10276
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Francis Hopkinson'
ent.start_char = 10277
ent.end_char = 10294
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'John Hart'
ent.start_char = 10295
ent.end_char = 10304
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Abraham Clark'
ent.start_char = 10305
ent.end_char = 10318
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'New Hampshire'
ent.start_char = 10321
ent.end_char = 10334
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'Josiah Bartlett'
ent.start_char = 10335
ent.end_char = 10350
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'William Whipple'
ent.start_char = 10351
ent.end_char = 10366
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Massachusetts'
ent.start_char = 10371
ent.end_char = 10384
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'Samuel Adams'
ent.start_char = 10385
ent.end_char = 10397
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'John Adams\n'
ent.start_char = 10398
ent.end_char = 10409
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Robert Treat Paine'
ent.start_char = 10409
ent.end_char = 10427
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Gerry'
ent.start_char = 10437
ent.end_char = 10442
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Rhode Island'
ent.start_char = 10445
ent.end_char = 10457
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'Stephen Hopkins'
ent.start_char = 10458
ent.end_char = 10473
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'William Ellery'
ent.start_char = 10474
ent.end_char = 10488
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Connecticut'
ent.start_char = 10491
ent.end_char = 10502
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'Roger Sherman'
ent.start_char = 10503
ent.end_char = 10516
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Samuel Huntington'
ent.start_char = 10517
ent.end_char = 10534
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'William Williams'
ent.start_char = 10535
ent.end_char = 10551
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Oliver Wolcott'
ent.start_char = 10552
ent.end_char = 10566
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'New Hampshire'
ent.start_char = 10569
ent.end_char = 10582
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'Matthew Thornton\n\n\n\n\xa0\n\nBack'
ent.start_char = 10583
ent.end_char = 10610
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Main Declaration Page'
ent.start_char = 10614
ent.end_char = 10635
ent.label_ = 'WORK_OF_ART'
spacy.explain('WORK_OF_ART') = Titles of books, songs, etc.
ent.text = 'Snippet'
ent.start_char = 10643
ent.end_char = 10650
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'the Declaration\n\nWhat Does it Say'
ent.start_char = 10657
ent.end_char = 10690
ent.label_ = 'WORK_OF_ART'
spacy.explain('WORK_OF_ART') = Titles of books, songs, etc.
ent.text = 'Happen'
ent.start_char = 10732
ent.end_char = 10738
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'The National Archives Museum'
ent.start_char = 10939
ent.end_char = 10967
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Read a Transcript\nDeclaration of Independence'
ent.start_char = 10969
ent.end_char = 11014
ent.label_ = 'WORK_OF_ART'
spacy.explain('WORK_OF_ART') = Titles of books, songs, etc.
ent.text = 'Americans'
ent.start_char = 11183
ent.end_char = 11192
ent.label_ = 'NORP'
spacy.explain('NORP') = Nationalities or religious or political groups
ent.text = 'Years'
ent.start_char = 11194
ent.end_char = 11199
ent.label_ = 'DATE'
spacy.explain('DATE') = Absolute or relative dates or periods
ent.text = 'Today'
ent.start_char = 11263
ent.end_char = 11268
ent.label_ = 'DATE'
spacy.explain('DATE') = Absolute or relative dates or periods
ent.text = 'Snippet\nShop'
ent.start_char = 11343
ent.end_char = 11355
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'January 31, 2023'
ent.start_char = 11428
ent.end_char = 11444
ent.label_ = 'DATE'
spacy.explain('DATE') = Absolute or relative dates or periods
ent.text = 'the United States'
ent.start_char = 11584
ent.end_char = 11601
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'the Declaration\nThe Faulkner Murals\nMeet the Framers of the Constitution\n\n\n\n\n\nOther Resources\n\n\n\nPlan Your Visit'
ent.start_char = 11673
ent.end_char = 11785
ent.label_ = 'WORK_OF_ART'
spacy.explain('WORK_OF_ART') = Titles of books, songs, etc.
ent.text = 'the National Archives Museum'
ent.start_char = 11789
ent.end_char = 11817
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Search the National Archives Catalog\nShop the Archives Store'
ent.start_char = 11919
ent.end_char = 11979
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Archives'
ent.start_char = 12171
ent.end_char = 12179
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'Volunteer'
ent.start_char = 12180
ent.end_char = 12189
ent.label_ = 'PRODUCT'
spacy.explain('PRODUCT') = Objects, vehicles, foods, etc. (not services)
ent.text = 'En Español'
ent.start_char = 12259
ent.end_char = 12269
ent.label_ = 'FAC'
spacy.explain('FAC') = Buildings, airports, highways, bridges, etc.
ent.text = 'Forms\n\n\n\n\n\nShop Online\n\n\n\nVisit the National Archives Store\nBuy Reproductions'
ent.start_char = 12275
ent.end_char = 12352
ent.label_ = 'WORK_OF_ART'
spacy.explain('WORK_OF_ART') = Titles of books, songs, etc.
ent.text = 'Tumblr'
ent.start_char = 12423
ent.end_char = 12429
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'YouTube'
ent.start_char = 12431
ent.end_char = 12438
ent.label_ = 'NORP'
spacy.explain('NORP') = Nationalities or religious or political groups
ent.text = 'Us'
ent.start_char = 12466
ent.end_char = 12468
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'Privacy Policy'
ent.start_char = 12511
ent.end_char = 12525
ent.label_ = 'PERSON'
spacy.explain('PERSON') = People, including fictional
ent.text = 'Freedom of Information Act'
ent.start_char = 12540
ent.end_char = 12566
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = 'The U.S. National Archives and Records Administration'
ent.start_char = 12615
ent.end_char = 12668
ent.label_ = 'ORG'
spacy.explain('ORG') = Companies, agencies, institutions, etc.
ent.text = '1-86-'
ent.start_char = 12669
ent.end_char = 12674
ent.label_ = 'DATE'
spacy.explain('DATE') = Absolute or relative dates or periods
ent.text = 'NARA'
ent.start_char = 12674
ent.end_char = 12678
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = 'NARA'
ent.start_char = 12679
ent.end_char = 12683
ent.label_ = 'GPE'
spacy.explain('GPE') = Countries, cities, states
ent.text = '1-866-272-6272'
ent.start_char = 12687
ent.end_char = 12701
ent.label_ = 'CARDINAL'
spacy.explain('CARDINAL') = Numerals that do not fall under another type
As this is a copy of the Transcript of the Declaration of Independence pulled from the Naitonal Archive Website it is important to note that some terms that were not orginally stripped from the page are in this segment. This is actucally helpful in this instance as it depicts that NLP is pulling information from the page and gives us a slight point of comparison.
We have several examples where the NLP is surpisingly accurate, for exampled: "General Congress, Assembled" it was able to identify this as an instiution and all of the Founding Fathers were identified clearly. However there were issues with words such as "Crown" which spaCy identified as "Product" but in this instance the proper use of the word is actually "Organization". While it does make sense when reading through the document that the NLP would confuse "Crown" with products as there is discussion of taxation and the colonists being vexed by the crown. It is not accurate in classification.
Another example was "Acts and Things which Independent States", where it was identified as a "Work_of_Art". As though this phrase was a title of a book or a song. Where it is actually part of this line, " That these United Colonies are, and of Right ought to be Free and Independent States; that they are Absolved from all Allegiance to the British Crown, and that all political connection between them and the State of Great Britain, is and ought to be totally dissolved; and that as Free and Independent States, they have full Power to levy War, conclude Peace, contract Alliances, establish Commerce, and to do all other Acts and Things which Independent States may of right do."
Even the most famous line of the Declaration was misinterpreted by the NLP: "We hold these truths to be self-evident, that all men are created equal, that they are endowed by their Creator with certain unalienable Rights, that among these are Life, Liberty and the pursuit of Happiness.--That to secure these rights, Governments are instituted among Men, deriving their just powers from the consent of the governed, --That whenever any Form of Government becomes destructive of these ends, it is the Right of the People to alter or to abolish it..." Spacy had interpreted 'Life, Liberty' as Companies rather than noun that was a possession.
* 9.5.1: Dependency Parsing
* 9.6.2: Sentiment Analysis
* 9.7.3: Polarity
* 9.8.3: Graph for Distribution of Sentence Scores by Lemmas
# 9.5.1: Dependency Parsing using Lemmas
import spacy
from spacy import displacy
nlp = spacy.load("en_core_web_sm")
#process the article
doc = nlp(DeclarIndep_text)
interesting_lemmas = [token.lemma_.lower() for token in doc if not token.is_punct and not token.is_space]
for token in doc:
token.text, token.lemma, token.pos_, token.dep_
displacy.render(doc, style="dep")
Sentiment analysis between tokens and lemmas varies as the pair function in two different ways. In this analysis this function brings forth an interesting result.
#9.5.5: Sentiment Analysis:
nlp = spacy.load("en_core_web_sm")
#process the article
doc = nlp(DeclarIndep_text)
interesting_lemmas = [token.lemma_.lower() for token in doc if not token.is_punct and not token.is_stop and not token.is_space]
def score_sentence_by_lemma(sentence, interesting_lemmas):
doc = nlp(sentence)
lemmas = [token.lemma_.lower() for token in doc if token.is_alpha and token.lower_ not in nlp.Defaults.stop_words]
interesting_lemmas = [token.lemma_.lower() for token in doc if not token.is_punct and not token.is_stop and not token.is_space]
num_words = len(lemmas)
num_interesting = sum(1 for lemma in lemmas if lemma in interesting_lemmas)
return num_interesting / num_words
print("Score of the first sentence using lemmas:", score_sentence_by_lemma(first_sentence, interesting_lemmas))
Score of the first sentence using lemmas: 1.0
# Polarity:
import spacy
from spacytextblob.spacytextblob import SpacyTextBlob
nlp = spacy.load('en_core_web_sm')
nlp.add_pipe('spacytextblob')
doc = nlp(DeclarIndep_text)
interesting_lemmas = [token.lemma_.lower() for token in doc if not token.is_punct and not token.is_stop and not token.is_space]
for token in doc:
(token.text, token.lemma_, token.pos_, token.dep_)
polarity=doc._.blob.polarity
print(f'Total polarity score of Document: {polarity}')
# Getting Sentement
#print('Polarity Score: ', doc._.blob.polarity)
Total polarity score of Document: 0.13496858241261228
# Graph for Distribution of Sentence Scores by Lemmas
import matplotlib.pyplot as plt
nlp = spacy.load("en_core_web_sm")
#process the article
doc = nlp(DeclarIndep_text)
def score_sentence_by_lemma(sentence, interesting_lemmas):
doc = nlp(sentence)
lemmas = [token.lemma_.lower() for token in doc if token.is_alpha and token.lower_ not in stop_words]
num_words = len(lemmas)
num_interesting = sum(1 for lemma in lemmas if lemma in interesting_lemmas)
if num_words != 0:
return num_interesting / num_words
else: return 0
#Creating lemmas Score def
interesting_lemmas = [lemma for lemma, _ in most_common_lemmas]
sentences = [sent.text for sent in doc.sents]
scores_by_lemmas = [score_sentence_by_lemma(sentence, interesting_lemmas) for sentence in sentences]
# Plot the histogram of sentence scores
plt.hist(scores_by_lemmas, bins=10, color='tan', edgecolor="maroon")
plt.title("Distribution of Sentence Scores by Lemmas")
plt.xlabel("Score")
plt.ylabel("Frequency")
plt.show()
0verall, this exploration of spaCy and NLPs has proven that while these are both powerful algorithms, they are brittle when examining formal and historical documents. Linguistically, there are many changes between Colonial America and Post Covid America, which affect the interpretation of language. NLPs can convert words to parts of speech and create a structured relationship of vocabulary based on sentence structure. While the algorithm could identify people, for example, those of the First Continental Congress and the Colonies they represented. When identifying terms such as “Crown” and “Liberty” the interpretation of these was invalid.
The ability of an NLP to be properly interpreted beyond a surface-level analysis of a document is frail, especially when examining historical documents. When discussing polarity scores for the total document the Polarity Score produced by tokens and lemmas was 0.13497. This is perplexing, as it fails to reflect the overarching tone of rebellion and irritation penned. These results indicate the fragility of the NLP when handling formal documents. Documents like news articles, tweets, reviews, and blog posts containing modern language are the opposite of language depicted in historical documents. This radical difference in linguistic structure results in instability when utilizing an NLP on documents of this category.